mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2026-01-02 22:59:10 +03:00
Show total stats if not under high load
This commit is contained in:
@@ -235,4 +235,8 @@ export class Postgres implements IDatabase {
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
highLoad() {
|
||||
return this.activePostgresRequests > this.config.postgres.highLoadThreshold;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user