Without the --heartbeat option the VNC session will timeout after 1 minute of idle time. This adds --heartbeat with a default of 30 seconds, configurable with websockify_hb in the context or the environment variable WEBSOCKIFY_HB.
This implements the VNC timeout workaround mentioned in
VNC timeout
The VNC app in OSC/ondemand will need to be updated to recognise the websockify_hb context variable.
Without the --heartbeat option the VNC session will timeout after 1 minute of idle time. This adds --heartbeat with a default of 30 seconds, configurable with websockify_hb in the context or the environment variable WEBSOCKIFY_HB.
This implements the VNC timeout workaround mentioned in VNC timeout
The VNC app in OSC/ondemand will need to be updated to recognise the websockify_hb context variable.