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:
parent
817b1200ca
commit
125f45c447
|
@ -6,6 +6,7 @@
|
||||||
- #1761: Add a new dark theme based on the [Dracula](https://draculatheme.com/) theme
|
- #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
|
- #2751: Media not rendered when Converse runs in a browser extension
|
||||||
- #2789: Implement new hook parseMessageForCommands for plugins to add custom
|
- #2789: Implement new hook parseMessageForCommands for plugins to add custom
|
||||||
|
- Increased stanza timeout from 10 to 20 seconds
|
||||||
|
|
||||||
### New hooks and events
|
### New hooks and events
|
||||||
|
|
||||||
|
|
|
@ -43,7 +43,7 @@ const _converse = {
|
||||||
* @constant
|
* @constant
|
||||||
* @type { integer }
|
* @type { integer }
|
||||||
*/
|
*/
|
||||||
STANZA_TIMEOUT: 10000,
|
STANZA_TIMEOUT: 20000,
|
||||||
|
|
||||||
SUCCESS: 'success',
|
SUCCESS: 'success',
|
||||||
FAILURE: 'failure',
|
FAILURE: 'failure',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user