summaryrefslogtreecommitdiffstats
path: root/apis
diff options
context:
space:
mode:
authorSimon Rettberg2017-05-17 12:43:06 +0200
committerSimon Rettberg2017-05-17 12:43:06 +0200
commite2c0ee0ca687fb1dc288511ecf93081cf109506d (patch)
treeac3446ca0e15e407ea5c7566f28a9f69c9ae491e /apis
parent[locations] Make Location::buildTree() public again for now (diff)
downloadslx-admin-e2c0ee0ca687fb1dc288511ecf93081cf109506d.tar.gz
slx-admin-e2c0ee0ca687fb1dc288511ecf93081cf109506d.tar.xz
slx-admin-e2c0ee0ca687fb1dc288511ecf93081cf109506d.zip
[apis/conr] Minutes...
Diffstat (limited to 'apis')
-rw-r--r--apis/cron.inc.php4
1 files changed, 2 insertions, 2 deletions
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) {