Skip to main content

flush_at_exit

Function flush_at_exit 

Source
pub(super) fn flush_at_exit()
Expand description

Makes a periodic flush in progress send the rest of its batch at once, then sends what is due at once, if start has created the policy and the transport has sent what earlier flushes queued. Zebra calls this when it shuts down or panics.