diff --git a/internal/worker/notifications.go b/internal/worker/notifications.go index 750af91..2a55667 100644 --- a/internal/worker/notifications.go +++ b/internal/worker/notifications.go @@ -164,6 +164,7 @@ func (nc *notificationsConsumer) Consume(delivery rmq.Delivery) { newAccount := account.CheckCount == 0 previousNextCheck := account.NextNotificationCheckAt + account.NextNotificationCheckAt = now account.CheckCount++