You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Override the liveness timeout when a node announces a shutdown. This
causes the subscription to fail quickly. Set the timeout to 0 soon
after. Setting to 0 causes the SDK to use the default liveness timeout
from the next (successful) subscription onwards again.
Another alternative would be to shutdown the subscription (mark the
device as offline). This has the disadvantage that the device needs
to recreate the subscription from scratch when it comes back, which
causes unnecessary traffic.
If the node stays offline for longer than 30s, we'll still trigger
the offline logic which will shutdown the subscription entirely
0 commit comments