diff options
| author | Adam Soltys <[email protected]> | 2024-01-09 23:10:35 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-01-09 23:10:39 -0800 |
| commit | 7a84d2555ffabbe29b23cf6e5035b6a4be8b9eb6 (patch) | |
| tree | 9fe2b7d523bbfe34176f115cb6823403fef1f802 /lib/db.js | |
| parent | e06878e18fc33e392fd16b76d1ab9f25f8bc7fbe (diff) | |
| download | coinos-server-7a84d2555ffabbe29b23cf6e5035b6a4be8b9eb6.tar.gz coinos-server-7a84d2555ffabbe29b23cf6e5035b6a4be8b9eb6.zip | |
remove users from archive once migrated
Diffstat (limited to 'lib/db.js')
| -rw-r--r-- | lib/db.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ import config from "$config"; -import { wait, sleep } from "$lib/utils"; +import { fail, wait, sleep } from "$lib/utils"; import { createClient, defineScript } from "redis"; import { warn, l, err } from "$lib/logging"; @@ -130,7 +130,7 @@ export let t = async (k, f) => { await t(k, f); } else { delete retries[k]; - throw new Error("unable to obtain lock"); + fail("unable to obtain lock"); } } |
