messing with conn stats

This commit is contained in:
Siddharth Singh 2024-07-16 07:33:02 +05:30
parent 404306f203
commit 53343ba349
No known key found for this signature in database

View file

@ -34,6 +34,6 @@ export class DittoPostgres {
}
static get availableConnections(): number {
return this.postgres.connections.max - this.postgres.connections.open;
return this.postgres.connections.closed;
}
}