mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2024-09-20 04:54:00 +02:00
More specific redis error
This commit is contained in:
parent
9600f56830
commit
69a54f64b4
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ if (config.redis?.enabled) {
|
|||
const getRead = readClient?.get?.bind(readClient);
|
||||
exportClient.get = (key) => new Promise((resolve, reject) => {
|
||||
if (config.redis.maxConnections && activeRequests > config.redis.maxConnections) {
|
||||
reject("Too many active requests");
|
||||
reject("Too many active requests in general");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue