Show total stats if not under high load

This commit is contained in:
Ajay
2022-11-20 00:47:41 -05:00
parent df76b5f053
commit 87e38c8bc4
7 changed files with 46 additions and 5 deletions

View File

@@ -235,4 +235,8 @@ export class Postgres implements IDatabase {
return result;
}
highLoad() {
return this.activePostgresRequests > this.config.postgres.highLoadThreshold;
}
}