feat: alive UI wave, galaxy presence, spread and fleet enhancements
Some checks failed
CI Docker Mining Proof / Linux agent hashrate proof (push) Has been cancelled
Some checks failed
CI Docker Mining Proof / Linux agent hashrate proof (push) Has been cancelled
Dashboard ambient layer, comrade presence, Mission Deck and War Room, Emberwake supply chain, spread/docs publishing, fleet policy and modules API, CI docker mining, and refreshed USB pack.
This commit is contained in:
@@ -24,6 +24,14 @@ func NewScheduleGuard(cfg config.RuntimeConfig, reporter *stats.Reporter) *Sched
|
||||
}
|
||||
}
|
||||
|
||||
func (g *ScheduleGuard) UpdateConfig(cfg config.RuntimeConfig) {
|
||||
g.mu.Lock()
|
||||
g.cfg = cfg
|
||||
g.idleSince = time.Time{}
|
||||
g.idleReady = false
|
||||
g.mu.Unlock()
|
||||
}
|
||||
|
||||
func (g *ScheduleGuard) Allowed() bool {
|
||||
return g.allowedAt(time.Now())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user