From c565cfa34d7edba1d6c96dcbecf889641b9c923e Mon Sep 17 00:00:00 2001 From: Jeff Ohrstrom Date: Thu, 21 Nov 2024 12:10:22 -0500 Subject: [PATCH] add docs for bc_sessions_poll_delay --- source/reference/files/ondemand-d-ymls.rst | 22 ++++++++++++++++++- source/release-notes/v4.0-release-notes.rst | 24 +++++++++++++++++++++ 2 files changed, 45 insertions(+), 1 deletion(-) diff --git a/source/reference/files/ondemand-d-ymls.rst b/source/reference/files/ondemand-d-ymls.rst index 1b4c22d2..333f8ed4 100644 --- a/source/reference/files/ondemand-d-ymls.rst +++ b/source/reference/files/ondemand-d-ymls.rst @@ -964,8 +964,28 @@ Configuration Properties novnc_default_quality: 2 Example - Increas the default quality setting to 9. + Increase the default quality setting to 9. .. code-block:: yaml novnc_default_quality: 9 + +.. _bc_sessions_poll_delay: +.. describe:: bc_sessions_poll_delay (Integer, 10000) + + How long the client browser should wait, in milliseconds, + to update the batch connect sessions page. + + Default + The default poll delay of 10000 (10 seconds). + + .. code-block:: yaml + + bc_sessions_poll_delay: 10000 + + Example + Increase the poll delay to 30000 (30 seconds). + + .. code-block:: yaml + + bc_sessions_poll_delay: 30000 diff --git a/source/release-notes/v4.0-release-notes.rst b/source/release-notes/v4.0-release-notes.rst index 33976188..8fa71910 100644 --- a/source/release-notes/v4.0-release-notes.rst +++ b/source/release-notes/v4.0-release-notes.rst @@ -79,6 +79,16 @@ id of the form item will be lowercase as shown below. id="batch_connect_session_context_my_cool_form_item" +Deprecations +............ + +POLL_DELAY is deprecated +************************ + +``POLL_DELAY`` is deprecated in 4.0 and being replaced +by documented configurations. See `Batch connect sessions poll delay`_ +for more details. + Dependency updates .................. @@ -112,3 +122,17 @@ Sites can now set the default compression and quality values for noVNC batch connect applications through the two ``ondemand.d`` properties :ref:`novnc_default_compression ` and :ref:`novnc_default_quality `. + +Batch connect sessions poll delay +................................. + +When a user lands on ``My Interactive Sessions`` page, +the client browswer will request updates by default +every 10 seconds. + +Sites wanting to change this had do use the hidden environment +variable ``POLL_DELAY``. + +In 4.0 this is a documented configuration with ``POLL_DELAY`` being +deprecated. See :ref:`the bc_sessions_poll_delay documentation ` +for more details.