From 3fb7c1ff93f8903121c6b458f7c27abbceda28b0 Mon Sep 17 00:00:00 2001 From: Ewan Sheldon Date: Mon, 2 Oct 2023 11:18:52 +0200 Subject: [PATCH] index every five mins --- src/transactions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/transactions.js b/src/transactions.js index d70abc2..733e302 100644 --- a/src/transactions.js +++ b/src/transactions.js @@ -448,7 +448,7 @@ const indexVaultTransactions = async _ => { const scheduleVaultTransactionIndexing = async _ => { let running = false; - schedule.scheduleJob('* * * * *', async _ => { + schedule.scheduleJob('*/5 * * * *', async _ => { if (!running) { running = true; await indexVaultTransactions();