Regression: Fix notification worker not firing (#20829)

pull/20838/head
Diego Sampaio 5 years ago committed by GitHub
parent d40288aedd
commit 2fb3060da1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      app/notification-queue/server/NotificationQueue.ts

@ -43,10 +43,10 @@ class NotificationClass {
setTimeout(() => {
try {
this.worker.bind(this);
this.worker();
} catch (e) {
console.error('Error sending notification', e);
this.executeWorkerLater.bind(this);
this.executeWorkerLater();
}
}, this.cyclePause);
}

Loading…
Cancel
Save