messing with conn stats

This commit is contained in:
Siddharth Singh
2024-07-16 07:33:02 +05:30
parent 404306f203
commit 53343ba349

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;
}
}