diff --git a/src/partial.ts b/src/partial.ts index e49f56f..0e683a2 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 = 0 + const sleepTime = 1000 // 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