Default configurations in ClientPolicy

Original Postby amdalal » Mon Sep 30, 2013 3:30 am

Please let me know what are the default values for failIfNotConnected, maxSocketIdle, maxThreads and timeout in ClientPolicy? I was unable to find them anywhere in the documentation.

Also, if I set timeout as 0 in /etc/citrusleaf/citrusleaf.conf and set clientPolicy.timeout = 10 while initializing client, which one of the two would be used?


Postby young » Thu Oct 03, 2013 10:01 am

The defaults are: failifNotConnected = false timeout = 1000 maxThreads = 3000 maxSocketIdle =14

Normally, the client value overrides anything on the server. However, the specific value for clientPolicy.timeout is not generally set in the citrusleaf.conf configuration file. What is the specific stanza for the timeout you are looking at?