Indeed the <param name="first_connection_timeout_millis"> parameter is not mandatory for the <metadata_provider> section.
But its default value is -1, which means endless waiting. This is because, in normal cases, is not convenient to proceed with the initialization of the server before the Metadata Adapter is properly connected.
Please refer to the auto-documented "adapters.xml" template in "LS_HOME/DOCS-SDKs/sdk_adapter_remoting_infrastructure/conf/sockets(robust)".
Code:
<!-- Optional, specific for RobustNetworkedMetadataProvider.
The timeout for the first connection attempt. Upon the Proxy Adapter
initialization at Lightstreamer Server startup, if a remote server
is not available, Lightstreamer Server startup can be delayed until
this timeout expires.
A negative value stands for an unlimited timeout.
Note that, as soon as Lightstreamer Server startup completes,
as long as a connection to a remote server is still missing,
all client requests will be refused.
Default: -1. -->
<param name="first_connection_timeout_millis">10000</param>
Bookmarks