mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-06 11:36:58 +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.setEx = (key, seconds, value) => setFun(client.setEx.bind(client), [key, seconds, 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.increment = (key) => new Promise((resolve, reject) =>
|
||||
void client.multi()
|
||||
.incr(key)
|
||||
|
||||
Reference in New Issue
Block a user