mirror of
https://github.com/henrygd/beszel.git
synced 2026-03-22 05:36:15 +01:00
update changelog and comments
This commit is contained in:
@@ -142,7 +142,6 @@ func (sys *System) update() error {
|
||||
if time.Since(time.UnixMilli(lastFetch)) >= sys.smartInterval && sys.smartFetching.CompareAndSwap(false, true) {
|
||||
go func() {
|
||||
defer sys.smartFetching.Store(false)
|
||||
// Throttle retries even on failure.
|
||||
sys.lastSmartFetch.Store(time.Now().UnixMilli())
|
||||
_ = sys.FetchAndSaveSmartDevices()
|
||||
}()
|
||||
|
||||
Reference in New Issue
Block a user