From e2c0ee0ca687fb1dc288511ecf93081cf109506d Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Wed, 17 May 2017 12:43:06 +0200 Subject: [apis/conr] Minutes... --- apis/cron.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apis') diff --git a/apis/cron.inc.php b/apis/cron.inc.php index 7431e9ef..4a980fed 100644 --- a/apis/cron.inc.php +++ b/apis/cron.inc.php @@ -30,7 +30,7 @@ if (($report = Request::get('crashreport', false, 'string'))) { if ($time > 3600) // Sanity check continue; $str[] = $entry[0] . ' (started ' . $time . 's ago)'; - Property::addToList(CRON_KEY_BLOCKED, $entry[0], 1800); + Property::addToList(CRON_KEY_BLOCKED, $entry[0], 30); } if (empty($str)) { $str = 'an unknown module'; @@ -91,7 +91,7 @@ foreach (Hook::load('cron') as $hook) { continue; // Fire away $value = $hook->moduleId . '|' . time(); - Property::addToList(CRON_KEY_STATUS, $value, 1800); + Property::addToList(CRON_KEY_STATUS, $value, 30); try { handleModule($hook->file); } catch (Exception $e) { -- cgit v1.2.3-55-g7522