mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2026-01-03 07:09:01 +03:00
Only use redis timeout when db not under load
This commit is contained in:
@@ -108,6 +108,10 @@ export class Sqlite implements IDatabase {
|
||||
highLoad() {
|
||||
return false;
|
||||
}
|
||||
|
||||
shouldUseRedisTimeout() {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
export interface SqliteConfig {
|
||||
|
||||
Reference in New Issue
Block a user