We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0b63ec commit 78d8cceCopy full SHA for 78d8cce
forwarder/update_handlers/ca_update_handler.py
@@ -58,6 +58,10 @@ def __init__(
58
(self._pv,) = context.get_pvs(
59
pv_name, connection_state_callback=self._connection_state_callback
60
)
61
+ # This is needed for the case when the PV doesn't exist before it has been added
62
+ # ie. if a gateway has not yet been configured.
63
+ # None means no timeout - it will eventually connect.
64
+ self._pv.timeout = None
65
# Subscribe with "data_type='time'" to get timestamp and alarm fields
66
sub = self._pv.subscribe(data_type="time")
67
sub.add_callback(self._monitor_callback)
0 commit comments