mirror of
https://github.com/christianselig/apollo-backend
synced 2024-11-13 07:27:43 +00:00
don't change account next notification check at, the scheduler does this for us
This commit is contained in:
parent
bbb3001544
commit
571c6d60eb
1 changed files with 0 additions and 1 deletions
|
@ -166,7 +166,6 @@ func (nc *notificationsConsumer) Consume(delivery rmq.Delivery) {
|
|||
previousNextCheck := account.NextNotificationCheckAt
|
||||
|
||||
account.CheckCount++
|
||||
account.NextNotificationCheckAt = time.Now().Add(domain.NotificationCheckInterval)
|
||||
|
||||
defer func(acc *domain.Account) {
|
||||
if err = nc.accountRepo.Update(nc, acc); err != nil {
|
||||
|
|
Loading…
Reference in a new issue