-
March 24th, 2023, 12:08 PM
#1
Subscription Timeout too fast
I'm running LS v7.2.2 with a v8.0.7 webclient. The Meta and Data adapters are C# Core v6.
I'm trying to increase the subscription timeout. I increased the subscription_timeout_millis setting in the lightstreamer_conf.xml file to 30 seconds but the unsubscribe method in the DataAdapter is called almost immediately after the client disconnects.
This particular client unsubscribes to all subscriptions and then immediately disconnects from the server.
Are there additional settings that must be changed to get LS to honor the subscription_timeout_millis?
-
March 24th, 2023, 01:27 PM
#2
Hi rthompson,
Please consider that the subscription_timeout_millis setting does not apply in case an explicit unsubscribe request has been received for that item.
It applies only in cases where the unsubscription is implicit, due to the termination of the client session that requested the relevant subscription.
The timeout was meant to address cases like a client just refreshing the page, with a quick re-connection after a disconnection, to save a couple of probably useless unsubscribe and subscribe calls to the Data Adapter.
Regards,
Giuseppe
-
March 24th, 2023, 02:02 PM
#3
Ah OK. Didn't realize that was the use case. This makes sense now.
Thanks for the quick reply.
Similar Threads
-
By rajesh.palanisamy in forum Client SDKs
Replies: 1
Last Post: August 22nd, 2018, 01:15 PM
-
By vpurohit in forum Client SDKs
Replies: 1
Last Post: September 23rd, 2014, 11:04 AM
-
By afshin_a in forum Client SDKs
Replies: 6
Last Post: August 27th, 2011, 04:43 AM
-
By codingvn in forum Client SDKs
Replies: 5
Last Post: July 17th, 2008, 10:01 AM
-
By aikobit in forum Adapter SDKs
Replies: 9
Last Post: July 8th, 2008, 01:57 AM
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 01:04 AM.
Bookmarks