Logging for email quotas

This commit is contained in:
David Bomba 2021-08-11 11:12:03 +10:00
parent 7b73104a45
commit b4ae1faf64

View File

@ -60,6 +60,7 @@ class AdjustEmailQuota implements ShouldQueue
{ {
Account::query()->cursor()->each(function ($account){ Account::query()->cursor()->each(function ($account){
nlog("resetting email quota for {$account->key}");
Cache::forget($account->key); Cache::forget($account->key);
Cache::forget("throttle_notified:{$account->key}"); Cache::forget("throttle_notified:{$account->key}");
}); });