aboutsummaryrefslogtreecommitdiffstats
path: root/lib/db.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/db.js')
-rw-r--r--lib/db.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/db.js b/lib/db.js
index 31464b19..ab88925f 100644
--- a/lib/db.js
+++ b/lib/db.js
@@ -30,15 +30,15 @@ return {ok = 'ok'}
let debit = defineScript({
NUMBER_OF_KEYS: 2,
SCRIPT,
- transformArguments: (...args) => args.map((a) => a.toString())
+ transformArguments: (...args) => args.map((a) => a.toString()),
});
export let db = createClient({
url: config.db,
scripts: { debit },
socket: {
- reconnectStrategy: (retries) => Math.min(retries * 50, 5000)
- }
+ reconnectStrategy: (retries) => Math.min(retries * 50, 5000),
+ },
});
async function connectWithRetry() {