Skip to content

WebSocket disconnect when idleTimeout is less than 6 seconds #286

Answered by ghost
DarkMatterMatt asked this question in Q&A
Discussion options

You must be logged in to vote

I cannot reproduce this issue. Your screenshot seems to show how it is supposed to act. Timeout is very granular and works in steps of 4 seconds. This means 5 seconds will round to 4 seconds which is anything between 0 to 4 seconds if I remember correctly. This while 6 will round to 8 seconds, which is anything between 4 to 8 seconds.

This is controlled by LIBUS_TIMEOUT_GRANULARITY which is 4 seconds by default.

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant
Converted from issue

This discussion was converted from issue #286 on December 09, 2020 05:29.