[remoteopenhab] New setting to restart the SSE connection after inact… (#10063)
* [remoteopenhab] New setting to restart the SSE connection after inactivity Fix #9680 Signed-off-by: Laurent Garnier <lg.hc@free.fr> * Review comments: doc Signed-off-by: Laurent Garnier <lg.hc@free.fr>
This commit is contained in:
@@ -63,11 +63,24 @@
|
||||
|
||||
<parameter name="aliveInterval" type="integer" min="0" step="1" unit="min">
|
||||
<label>Alive Interval</label>
|
||||
<description>Number of last minutes to take into account to determine whether the remote server is alive. 0 to
|
||||
disable this feature. Default is 5.</description>
|
||||
<description>Number of last minutes to consider when monitoring the receipt of events from the remote server. If an
|
||||
event is received during this interval, the remote server is considered alive and its accessibility will not be
|
||||
verified. Use 0 to disable this feature. Default is 5.</description>
|
||||
<default>5</default>
|
||||
<advanced>true</advanced>
|
||||
</parameter>
|
||||
|
||||
<parameter name="restartIfNoActivity" type="boolean">
|
||||
<label>Restart if no Activity</label>
|
||||
<description>Set it to true if you want to restart the connection (SSE) to the remote server when no events are
|
||||
received in the monitored interval. It is not necessary if the goal is to properly handle a short network outage
|
||||
(few seconds). This can be useful if you want to deal with a long network outage. Do not enable it if you remote
|
||||
server does not send events during the monitored interval under normal conditions, it will cause frequent restart
|
||||
of the connection and potential loss of events. Default is false.
|
||||
</description>
|
||||
<default>false</default>
|
||||
<advanced>true</advanced>
|
||||
</parameter>
|
||||
</config-description>
|
||||
</bridge-type>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user