update threshold

This commit is contained in:
pascal
2025-12-09 20:45:42 +01:00
parent 72fb097c0f
commit b6c2b398a9

View File

@@ -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)
}
}