diff --git a/internal/store/store.go b/internal/store/store.go index e65d4fc..e2fecd7 100644 --- a/internal/store/store.go +++ b/internal/store/store.go @@ -812,7 +812,7 @@ func (s *Store) CreatePending(listID int64, addr, action string) (token string, func (s *Store) warnPendingCap(now time.Time, n int) { s.capLogMu.Lock() defer s.capLogMu.Unlock() - if !s.capLoggedAt.IsZero() && now.Sub(s.capLoggedAt) < pendingCapLogEvery { + if now.Sub(s.capLoggedAt) < pendingCapLogEvery { return } s.capLoggedAt = now