summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2023-08-02 20:15:25 +0200
committerJoas Schilling <coding@schilljs.com>2023-08-08 10:46:52 +0200
commit38aaa0cd2b10a342c8f10eb53cff1b644dd26cb1 (patch)
tree3ab8848419bc1345dca11787a412f281826894cb
parentfa5f671b4e28f031b1935b95d42cc0f4349b7f6d (diff)
fix(bots): Set timeout to 5s (we wait async if necessary)
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r--lib/Service/BotService.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Service/BotService.php b/lib/Service/BotService.php
index 8e71fcb53..fcfb76ce4 100644
--- a/lib/Service/BotService.php
+++ b/lib/Service/BotService.php
@@ -169,6 +169,7 @@ class BotService {
'allow_local_address' => true, // FIXME don't enforce
],
'headers' => $headers,
+ 'timeout' => 5,
'body' => json_encode($body),
];