Skip to main content

DATABENTO_DEFINITION_DRAIN_IDLE_SECS

Constant DATABENTO_DEFINITION_DRAIN_IDLE_SECS 

Source
const DATABENTO_DEFINITION_DRAIN_IDLE_SECS: u64 = 3;
Expand description

How long to wait (idle seconds) before we consider the Definition snapshot drained and shut that client down. Local reproduction shows the full GLBX.MDP3 GC+OG directory (43 730 records) drains in ~5s — a 3s idle window is a comfortable cutoff.