Browse Source
fix(bots): Set timeout to 5s (we wait async if necessary)
Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/9458/head
Joas Schilling
2 years ago
No known key found for this signature in database
GPG Key ID: 74434EFE0D2E2205
1 changed files with
1 additions and
0 deletions
-
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), |
|
|
|
]; |
|
|
|
|
|
|
|