diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2016-03-09 15:04:20 +0100 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2016-03-09 15:04:20 +0100 |
commit | c5468b4a598afa09d8e4c0d8e46ab44cca1e9c60 (patch) | |
tree | 4baa87288fd982e87e82314f997e9c906493a915 /pullimap | |
parent | 6bf9ee9a1e1c704490489f682dfe106f2c1ee46a (diff) |
pullimap: purge old messages every 12h.
Diffstat (limited to 'pullimap')
-rwxr-xr-x | pullimap | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -236,7 +236,7 @@ sub purge() { unless ($days == 0) { my $now = time; - return if defined $LAST_PURGED and $now - $LAST_PURGED < 6*3600; # purge every 6h + return if defined $LAST_PURGED and $now - $LAST_PURGED < 43200; # purge every 12h $LAST_PURGED = $now; my @now = gmtime($now - $days*86400); |