mirror of
https://github.com/aljazceru/ditto.git
synced 2026-01-14 02:54:19 +01:00
messing with conn stats
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user