expire delivery reports at 10 days by default instead of 30.

This commit is contained in:
redmatrix
2016-01-04 22:12:36 -08:00
parent 2dd9e27a44
commit 1f0e603992
3 changed files with 13 additions and 13 deletions

View File

@@ -205,7 +205,7 @@ function poller_run($argv, $argc){
$keep_reports = intval(get_config('system','expire_delivery_reports'));
if($keep_reports === 0)
$keep_reports = 30;
$keep_reports = 10;
q("delete from dreport where dreport_time < %s - INTERVAL %s",
db_utcnow(),