Hi,
I'm wondering whether we must unsubscribe from all subscribed tables before closing the connection or it is optional
Printable View
Hi,
I'm wondering whether we must unsubscribe from all subscribed tables before closing the connection or it is optional
Hi,
Assuming you don’t reuse the same instance of the LightstreamerClient, you can disconnect without unsubscribing. On the server side all the subscriptions will be dismissed after a few seconds (this delay is configurable by setting the parameter subscription_timeout_millis in your lightstreamer_conf.xml).
In general it is better to avoid the extra network traffic which will be generated by the unsubscriptions.