sleep time

This commit is contained in:
dd 2021-04-17 23:56:24 -04:00
parent e2051eda6f
commit 2427a4974a
1 changed files with 1 additions and 1 deletions

View File

@ -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