documented maxRetries

This commit is contained in:
Brandon Nozaki Miller 2014-08-27 20:44:37 -07:00
parent 83d372edb7
commit d1ad87cd6d

View file

@ -64,6 +64,7 @@ Set these variables in the ``ipc.config`` scope to overwrite or set default valu
silent : false, silent : false,
maxConnections : 100, maxConnections : 100,
retry : 500, retry : 500,
maxRetries : 0,
stopRetrying : false stopRetrying : false
} }
@ -79,6 +80,7 @@ Set these variables in the ``ipc.config`` scope to overwrite or set default valu
| silent | turn on/off logging default is false which means logging is on | | silent | turn on/off logging default is false which means logging is on |
| maxConnections| this is the max number of connections allowed to a socket. It is currently only being set on Unix Sockets. Other Socket types are using the system defaults. | | maxConnections| this is the max number of connections allowed to a socket. It is currently only being set on Unix Sockets. Other Socket types are using the system defaults. |
| retry | this is the time in milliseconds a client will wait before trying to reconnect to a server if the connection is lost. This does not effect UDP sockets since they do not have a client server relationship like Unix Sockets and TCP Sockets. | | retry | this is the time in milliseconds a client will wait before trying to reconnect to a server if the connection is lost. This does not effect UDP sockets since they do not have a client server relationship like Unix Sockets and TCP Sockets. |
| maxRetries | the maximum number of retries after each disconnect before giving up and completely killing a specific connection |
| stopRetrying| Defaults to false mwaning clients will continue to retryt to connect to servers indefinately at the retry interval. If set to any number the client will stop retrying when that number is exceeded after each disconnect. If set to 0, the client will ***NOT*** try to reconnect. | | stopRetrying| Defaults to false mwaning clients will continue to retryt to connect to servers indefinately at the retry interval. If set to any number the client will stop retrying when that number is exceeded after each disconnect. If set to 0, the client will ***NOT*** try to reconnect. |
---- ----