mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
messing with conn stats
This commit is contained in:
parent
404306f203
commit
53343ba349
1 changed files with 1 additions and 1 deletions
|
|
@ -34,6 +34,6 @@ export class DittoPostgres {
|
||||||
}
|
}
|
||||||
|
|
||||||
static get availableConnections(): number {
|
static get availableConnections(): number {
|
||||||
return this.postgres.connections.max - this.postgres.connections.open;
|
return this.postgres.connections.closed;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue