MCPcopy Index your code
hub / github.com/simstudioai/sim / scheduleDrainRetry

Function scheduleDrainRetry

apps/sim/lib/execution/isolated-vm.ts:610–617  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

608}
609
610function scheduleDrainRetry() {
611 if (queueDrainRetryTimeout || queueSize === 0) return
612 queueDrainRetryTimeout = setTimeout(() => {
613 queueDrainRetryTimeout = null
614 if (queueSize === 0) return
615 drainQueue()
616 }, QUEUE_RETRY_DELAY_MS)
617}
618
619function handleBrokerMessage(
620 workerInfo: WorkerInfo | undefined,

Callers 1

drainQueueFunction · 0.85

Calls 1

drainQueueFunction · 0.85

Tested by

no test coverage detected