Chapter 2.1 : Swarm config
The main Swarm configuration is defined with :
1 2 3 4 5 |
[swarm] send_flag = "NON_BLOCK" send_timeout_ms = -1 recv_flag = "NON_BLOCK" recv_timeout_ms = -1 |
- send_flag : flag to be used to send messages to an other Daemon
- NON_BLOCK : default value, will not block the message send
- BLOCK : will block the call until the timeout send_timeout_ms is reached
- send_timeout_ms : timeout in miliseconds to send a message to an other Daemon, -1 means block forever
- recv_flag : flag to be used to send messages to an other Daemon
- NON_BLOCK : default value, will not block the message recv
- BLOCK : will block the call until the timeout recv_timeout_ms is reached
- recv_timeout_ms : timeout in miliseconds to send a message to an other Daemon, -1 means block forever but is not recommended for a classic Swarm use