Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MG-RAST/Shock
/ traceFileName
Function
traceFileName
shock-server/trace.go:14–16 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
12
var
traceOn bool
13
14
func
traceFileName() string {
15
return
fmt.Sprintf(
"trace.%d.log"
, time.Now().Unix())
16
}
17
18
func
hourlyTrace() {
19
wait := 60 * time.Minute
Callers
2
durationTrace
Function · 0.85
mapRoutes
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected