From 4d27ab87d34334153f1ae468007040a6f12d7689 Mon Sep 17 00:00:00 2001 From: David Douard Date: Mon, 13 Sep 2021 11:40:58 +0200 Subject: [PATCH] Reduce the sleep time in test-dummy-token handler reduce this sleep delay from 5s to 4s to fix an issue with the `occ circles:check` command which uses a default 5s libcurl timeout. Signed-off-by: David Douard --- lib/Controller/EventWrapperController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Controller/EventWrapperController.php b/lib/Controller/EventWrapperController.php index fb0616364..ca3466bfa 100644 --- a/lib/Controller/EventWrapperController.php +++ b/lib/Controller/EventWrapperController.php @@ -134,7 +134,7 @@ public function asyncBroadcast(string $token): DataResponse { // so circles:check can check async is fine if ($token === 'test-dummy-token') { - sleep(5); + sleep(4); } // exit() or useless log will be generated