mirror of
https://we.phorge.it/source/phorge.git
synced 2025-02-01 01:18:22 +01:00
Fix GC threshold for mail to be 90 days instead of 0 seconds
See D13408.
This commit is contained in:
parent
2fc7afcbc4
commit
ae00d08b88
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ final class MetaMTAMailSentGarbageCollector
|
|||
|
||||
$mails = id(new PhabricatorMetaMTAMail())->loadAllWhere(
|
||||
'dateCreated < %d LIMIT 100',
|
||||
PhabricatorTime::getNow());
|
||||
PhabricatorTime::getNow() - $ttl);
|
||||
|
||||
foreach ($mails as $mail) {
|
||||
$mail->delete();
|
||||
|
|
Loading…
Add table
Reference in a new issue