From fd9972f18bbffb9909407260b018d9127baca32f Mon Sep 17 00:00:00 2001 From: David Bomba Date: Wed, 19 Jul 2023 08:32:10 +1000 Subject: [PATCH] Update email delays for quota notifications --- app/Models/Account.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/Account.php b/app/Models/Account.php index e6a5701f558c..46ba1c330ace 100644 --- a/app/Models/Account.php +++ b/app/Models/Account.php @@ -554,7 +554,7 @@ class Account extends BaseModel $nmo->to_user = $this->companies()->first()->owner(); NinjaMailerJob::dispatch($nmo, true); - Cache::put("throttle_notified:{$this->key}", true, 60 * 24); + Cache::put("throttle_notified:{$this->key}", true, 60 * 60 * 24); if (config('ninja.notification.slack')) { $this->companies()->first()->notification(new EmailQuotaNotification($this))->ninja();