sleep time
This commit is contained in:
parent
e2051eda6f
commit
2427a4974a
|
@ -159,7 +159,7 @@ async function runPartialLiquidator() {
|
||||||
const markets = await Promise.all(mangoGroup.spotMarkets.map(
|
const markets = await Promise.all(mangoGroup.spotMarkets.map(
|
||||||
(pk) => Market.load(connection, pk, {skipPreflight: true, commitment: 'singleGossip'}, dexProgramId)
|
(pk) => Market.load(connection, pk, {skipPreflight: true, commitment: 'singleGossip'}, dexProgramId)
|
||||||
))
|
))
|
||||||
const sleepTime = 0
|
const sleepTime = 1000
|
||||||
// TODO handle failures in any of the steps
|
// 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
|
// Find a way to get all margin accounts without querying fresh--get incremental updates to margin accounts
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue