MCPcopy Create free account
hub / github.com/Threadfin/Threadfin / InitMaintenance

Function InitMaintenance

src/maintenance.go:10–18  ·  view source on GitHub ↗

InitMaintenance : Wartungsprozess initialisieren

()

Source from the content-addressed store, hash-verified

8
9// InitMaintenance : Wartungsprozess initialisieren
10func InitMaintenance() (err error) {
11
12 rand.Seed(time.Now().Unix())
13 System.TimeForAutoUpdate = fmt.Sprintf("0%d%d", randomTime(0, 2), randomTime(10, 59))
14
15 go maintenance()
16
17 return
18}
19
20func maintenance() {
21

Callers

nothing calls this directly

Calls 2

randomTimeFunction · 0.85
maintenanceFunction · 0.85

Tested by

no test coverage detected