MCPcopy 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

12var traceOn bool
13
14func traceFileName() string {
15 return fmt.Sprintf("trace.%d.log", time.Now().Unix())
16}
17
18func hourlyTrace() {
19 wait := 60 * time.Minute

Callers 2

durationTraceFunction · 0.85
mapRoutesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected