Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/aceld/zinx
/ daemon
Method
daemon
zutils/witer.go:62–66 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
60
return
w
61
}
62
func
(w *Writer) daemon() {
63
for
range
time.NewTicker(time.Second * 5).C {
64
w.flush()
65
}
66
}
67
68
// SetMaxAge 最大保留天数
69
func
(w *Writer) SetMaxAge(ma int) {
Callers
1
New
Function · 0.95
Calls
1
flush
Method · 0.95
Tested by
no test coverage detected