expire crashing on shared hosting from memory exhaustion. Lower the expire limit. Also the sys channel was being expired with everybody else due to a flag change regression.

This commit is contained in:
redmatrix
2016-07-06 22:02:06 -07:00
parent ad954d01de
commit 581a3c5323
2 changed files with 2 additions and 2 deletions

View File

@@ -3282,7 +3282,7 @@ function item_expire($uid,$days) {
$expire_limit = get_config('system','expire_limit');
if(! intval($expire_limit))
$expire_limit = 5000;
$expire_limit = 2500;
$item_normal = item_normal();