MCPcopy Index your code
hub / github.com/celzero/firestack / periodicFlush

Method periodicFlush

intra/log/memconsole.go:328–355  ·  view source on GitHub ↗

periodicFlush drains the active buffer if it has content and no drain has been initiated recently. If the other buffer is currently being drained it restarts the ticker for another memFlushInterval rather than stacking concurrent Drain calls.

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

tickerMethod · 0.95

Calls 5

tickerMethod · 0.95
swapBuffersLockedMethod · 0.95
consumeMethod · 0.95
CompareAndSwapMethod · 0.80
LoadMethod · 0.45

Tested by

no test coverage detected