From 3ad720ac33b7bf6f85089ffeb39b9b25fa4a4db2 Mon Sep 17 00:00:00 2001 From: dd Date: Sat, 17 Apr 2021 23:39:13 -0400 Subject: [PATCH] reduced sleep time --- src/partial.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/partial.ts b/src/partial.ts index 09c17e1..7081d71 100644 --- a/src/partial.ts +++ b/src/partial.ts @@ -159,7 +159,7 @@ async function runPartialLiquidator() { const markets = await Promise.all(mangoGroup.spotMarkets.map( (pk) => Market.load(connection, pk, {skipPreflight: true, commitment: 'singleGossip'}, dexProgramId) )) - const sleepTime = 5000 + const sleepTime = 0 // TODO handle failures in any of the steps // Find a way to get all margin accounts without querying fresh--get incremental updates to margin accounts