diff --git a/src/applications/metamta/garbagecollector/MetaMTAMailSentGarbageCollector.php b/src/applications/metamta/garbagecollector/MetaMTAMailSentGarbageCollector.php index f6df18bef6ff5c05121371e1ecd4db0ad37ae430..99103a2f2ec39f88dfc10a4de8d4ff06dbf0fcf4 100644 --- a/src/applications/metamta/garbagecollector/MetaMTAMailSentGarbageCollector.php +++ b/src/applications/metamta/garbagecollector/MetaMTAMailSentGarbageCollector.php @@ -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();