mirror of
https://github.com/netbirdio/netbird.git
synced 2026-03-31 06:34:14 -04:00
update threshold
This commit is contained in:
@@ -76,7 +76,7 @@ func (t *PATUsageTracker) reportUsageBuckets() {
|
||||
if totalTokens > 0 {
|
||||
for id, count := range snapshot {
|
||||
t.histogram.Record(t.ctx, count)
|
||||
if count > 120 {
|
||||
if count > 60 {
|
||||
log.Debugf("High PAT usage detected: token %s used %d times in the last minute", id, count)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user