summaryrefslogtreecommitdiffstats
path: root/lib/Command
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2018-12-04 09:58:00 -0100
committerMaxence Lange <maxence@artificial-owl.com>2018-12-04 09:58:00 -0100
commitc240faab189b8f6f6cfe7e7eea5301951641dc5d (patch)
tree3b21ec4af773b92e8764952cd43b37cc9f2f7539 /lib/Command
parentc45cfe6b497cc92db806fd6f8b51f3560eac3b08 (diff)
timeout is defined depends on when the request is done
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'lib/Command')
-rw-r--r--lib/Command/QueueProcess.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Command/QueueProcess.php b/lib/Command/QueueProcess.php
index d9991b9d..e73229ec 100644
--- a/lib/Command/QueueProcess.php
+++ b/lib/Command/QueueProcess.php
@@ -109,6 +109,7 @@ class QueueProcess extends Base {
$this->activityService->manageInit();
foreach ($requests as $request) {
+ $request->setTimeout(ActivityService::TIMEOUT_SERVICE);
$output->write('.');
try {
$this->activityService->manageRequest($request);