Skip to content

Commit

Permalink
index every five mins
Browse files Browse the repository at this point in the history
  • Loading branch information
ewansheldon committed Oct 2, 2023
1 parent 4c32e5b commit 3fb7c1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transactions.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 3fb7c1f

Please sign in to comment.