-
Notifications
You must be signed in to change notification settings - Fork 100
Environment Variables
We utilize Environment Variables quite extensively to influence or define the behavior of certain aspects of the library. Here is a list of those environment variables and their uses. With a few exceptions (see below), all of the variables are only checked for presence, their value is meaningless and we often simply set them to 1
.
Add description.
The following variables affect how the library operates within a running process or application.
This option only applies to the ZMQ client connector. Specify the number of times a client RPC call should attempt to successfully send a request to a service within the allotted timeout. If you specify a timeout of 30 seconds and set a PB_CLIENT_RETRIES
value of 3 (the default), we would attempt three 10 second requests to try and get a good connection. See the ZMQ Guide on the Lazy Pirate Pattern for more information.
Set the connector transport type to be used for all client requests. Current options are evented, socket, and zmq (case does not matter). Note that whatever value you set here, you should mirror with PB_SERVER_TYPE
on the server side, otherwise your requests will not work correctly.
Add description.
Add description.
Add description.
Add description.