diff --git a/src/index.ts b/src/index.ts index a81a116..bc939be 100644 --- a/src/index.ts +++ b/src/index.ts @@ -417,7 +417,7 @@ const main = async (): Promise => { const state = perpMarketRedisMap.get(marketIndex); if (state) { const now = Date.now(); - if (now - state.lastRotationTime > 30000 && !state.lock) { + if (now - state.lastRotationTime > ROTATION_COOLDOWN && !state.lock) { state.lastRotationTime = now; return true; }