Move locks to their own DB collection
This commit is contained in:
1 parent
c3954c277f
commit
02665faa9f
6 files changed
+61
-46
No files matched your search
+2
-1
@@ -18,7 +18,8 @@
|
||||
*/
|
||||
|
||||
import { setTimeoutPromise } from "./util";
|
||||
import { acquireLock, get, releaseLock, set } from "./cache";
|
||||
import { get, set } from "./cache";
|
||||
import { acquireLock, releaseLock } from "./lock";
|
||||
|
||||
const REFRESH = 5000;
|
||||
const EVICT_TIMEOUT = 120000;
|
||||
|
||||
Reference in new issue
Block a user