Skip to content

Commit c50d589

Browse files
committed
remove some debugging logs
No longer needed
1 parent 26e3600 commit c50d589

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

data/events/alerts.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,6 @@ func (e *evaluator) Evaluate(ctx context.Context, followedUserID string) (
208208
if err != nil {
209209
return nil, err
210210
}
211-
e.logger(ctx).Debugf("%d alerts configs found", len(alertsConfigs))
212211

213212
alertsConfigsByUploadID := e.mapAlertsConfigsByUploadID(alertsConfigs)
214213

@@ -242,9 +241,7 @@ func (e *evaluator) gatherAlertsConfigs(ctx context.Context,
242241
if err != nil {
243242
return nil, err
244243
}
245-
e.logger(ctx).Debugf("after List, %d alerts configs", len(alertsConfigs))
246244
alertsConfigs = slices.DeleteFunc(alertsConfigs, e.authDenied(ctx))
247-
e.logger(ctx).Debugf("after perms check, %d alerts configs", len(alertsConfigs))
248245
return alertsConfigs, nil
249246
}
250247

@@ -293,7 +290,6 @@ func (e *evaluator) gatherData(ctx context.Context, followedUserID, uploadID str
293290
return cmp.Compare(i.LongestDelay(), j.LongestDelay())
294291
}).LongestDelay()
295292
longestDelay = max(5*time.Minute, longestDelay)
296-
e.logger(ctx).WithField("longestDelay", longestDelay).Debug("here it is")
297293
params := store.AlertableParams{
298294
UserID: followedUserID,
299295
UploadID: uploadID,

0 commit comments

Comments
 (0)