diff options
author | Simon Rettberg | 2016-12-20 11:02:13 +0100 |
---|---|---|
committer | Simon Rettberg | 2016-12-20 11:02:13 +0100 |
commit | feb7198cdcbfe5bc5014eebfb88073c4b6ef8344 (patch) | |
tree | 872e63ed8aa92f583fd03a80af635ba8968d9f69 /inc | |
parent | [locations] Remove debug message (diff) | |
download | slx-admin-feb7198cdcbfe5bc5014eebfb88073c4b6ef8344.tar.gz slx-admin-feb7198cdcbfe5bc5014eebfb88073c4b6ef8344.tar.xz slx-admin-feb7198cdcbfe5bc5014eebfb88073c4b6ef8344.zip |
[Taskmanager] Increase default timeout of waitComplete, also timeout of RecompressArchive in CustomModule of sysconfig
Diffstat (limited to 'inc')
-rw-r--r-- | inc/taskmanager.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/taskmanager.inc.php b/inc/taskmanager.inc.php index bd60e8ae..1920190f 100644 --- a/inc/taskmanager.inc.php +++ b/inc/taskmanager.inc.php @@ -100,7 +100,7 @@ class Taskmanager * @param int $timeout maximum time in ms to wait for completion of task * @return array result/status of task, or false if it couldn't be queried */ - public static function waitComplete($task, $timeout = 1500) + public static function waitComplete($task, $timeout = 2500) { if (is_array($task) && isset($task['id'])) { if ($task['statusCode'] !== TASK_PROCESSING && $task['statusCode'] !== TASK_WAITING) { |