From de174ef0c41edc18d8108e14afe08053b5af7dc6 Mon Sep 17 00:00:00 2001 From: Joffrey JAFFEUX Date: Tue, 17 Nov 2020 00:08:12 +0100 Subject: [PATCH] DEV: cap notifications per run at 300 as stated in comment (#11252) --- app/jobs/scheduled/bookmark_reminder_notifications.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/jobs/scheduled/bookmark_reminder_notifications.rb b/app/jobs/scheduled/bookmark_reminder_notifications.rb index cb7b016074a..0795e607bca 100644 --- a/app/jobs/scheduled/bookmark_reminder_notifications.rb +++ b/app/jobs/scheduled/bookmark_reminder_notifications.rb @@ -9,7 +9,7 @@ module Jobs every 5.minutes def self.max_reminder_notifications_per_run - @@max_reminder_notifications_per_run ||= 3 + @@max_reminder_notifications_per_run ||= 300 @@max_reminder_notifications_per_run end