mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-06 19:47:00 +03:00
Remove set limitation code
This commit is contained in:
@@ -108,8 +108,8 @@ if (config.redis?.enabled) {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
exportClient.set = (key, value) => setFun(client.set.bind(client), [key, value]);
|
// exportClient.set = (key, value) => setFun(client.set.bind(client), [key, value]);
|
||||||
exportClient.setEx = (key, seconds, value) => setFun(client.setEx.bind(client), [key, seconds, value]);
|
// exportClient.setEx = (key, seconds, value) => setFun(client.setEx.bind(client), [key, seconds, value]);
|
||||||
exportClient.increment = (key) => new Promise((resolve, reject) =>
|
exportClient.increment = (key) => new Promise((resolve, reject) =>
|
||||||
void client.multi()
|
void client.multi()
|
||||||
.incr(key)
|
.incr(key)
|
||||||
|
|||||||
Reference in New Issue
Block a user