Skip to content

Commit

Permalink
fix: remove spinlock in monitoring code (#405)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fusion committed Feb 19, 2024
1 parent 42c448f commit a2c151b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions v2/internal/monitoring/ldap.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ func (m *LDAPMonitorWatcher) sync() {
case tick := <-m.syncTicker.C:
m.logger.Debug().Time("value", tick).Msg("Tick")
m.storeMetrics()
default:
continue
}
}
}
Expand Down

0 comments on commit a2c151b

Please sign in to comment.