increase stanza timeout to 20s (#2799)

* increase stanza timeout to 20s

fixes issues with higher latency connections timing out fetching stanzas
This commit is contained in:
Rob j Loranger 2022-01-31 03:06:30 -08:00 committed by GitHub
parent 817b1200ca
commit 125f45c447
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -6,6 +6,7 @@
- #1761: Add a new dark theme based on the [Dracula](https://draculatheme.com/) theme
- #2751: Media not rendered when Converse runs in a browser extension
- #2789: Implement new hook parseMessageForCommands for plugins to add custom
- Increased stanza timeout from 10 to 20 seconds
### New hooks and events

View File

@ -43,7 +43,7 @@ const _converse = {
* @constant
* @type { integer }
*/
STANZA_TIMEOUT: 10000,
STANZA_TIMEOUT: 20000,
SUCCESS: 'success',
FAILURE: 'failure',