Results 1 to 5 of 5

Hybrid View

  1. #1
    Member
    Join Date
    Jul 2009
    Location
    Colorado Springs
    Posts
    8
    Yes, we do have .NET Data Adapters. Looking in our Adapters.xml file I do not see any parameter <Param name="timeout"></Param>. Do I need to add it? What is the param's units? Milliseconds? What exactly does this parameter do? i.e., are there any side-effects?

    What we have in our Adpaters's file
    <data_provider name="xxx">
    <adapter_class>com.lightstreamer.adapters.remote.R obustNetworkDataProvider</adapter_class>
    <param_name="request_reply_port">xxx</param_name>
    <param_name="notify_port">xxx</param_name>
    <param_name="connection_recovery_timeout_millis">x xx</param_name>
    <param_name="event_recovery">use_snapshot</param_name>
    <param_name="name">xxx</param_name>

  2. #2
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    1,091
    You can find the parameter listed, together with a short documentation, in the sample adapters.xml file of the StockListDemo Remote Adapter example in LS distribution package, in
    DOCS-SDKs\sdk_adapter_dotnet\examples\Remote_StockListD emo_Adapters\Deployment\Deployment_LS\StockList_so ckets

    So, you can add the line; the value is in milliseconds.
    The timeout should only account for roundtrip delays in the Proxy Adapter / Remote Adapter communication;
    in fact, we suggest that the Subscribe implementation should not be blocking.

    The default timeout is 10000. A shorter timeout may cause more slow subscriptions to be refused. A very high timeout has a side effect on memory usage with a large number of subscriptions, which will be fixed only in the next release.

 

 

Similar Threads

  1. Initial Installation
    By ffiisshh in forum General
    Replies: 1
    Last Post: March 29th, 2012, 10:14 AM
  2. Initial snapshot length
    By patilgkk in forum General
    Replies: 5
    Last Post: August 2nd, 2010, 09:04 AM
  3. Client receive old data after some time.
    By mnenchev in forum General
    Replies: 3
    Last Post: November 25th, 2009, 02:27 PM
  4. speed up initial loading
    By rd2008 in forum General
    Replies: 1
    Last Post: November 20th, 2008, 09:32 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 11:45 PM.