mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2026-03-15 04:17:30 +01:00
Make checkpointInterval an option config option again.
Also applies small fixes Entire-Checkpoint: c11d1a65fae4
This commit is contained in:
@@ -754,6 +754,9 @@ func (m *MemoryStore) ForceFree() (int, error) {
|
||||
}
|
||||
|
||||
func (m *MemoryStore) FreeAll() error {
|
||||
m.root.lock.Lock()
|
||||
defer m.root.lock.Unlock()
|
||||
|
||||
for k := range m.root.children {
|
||||
delete(m.root.children, k)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user