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
parent
commit
495e09b4e5
No known key found for this signature in database GPG Key ID: 74434EFE0D2E2205
  1. 1
      lib/Service/BotService.php

1
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),
];

Loading…
Cancel
Save