Commit 3ca105e2 authored by Dominik Charousset's avatar Dominik Charousset

Add new config parameter for connection timeouts

In order to remove frozen BASP nodes in a timely manner, users need to
be able to provide a timeout on the messaging level. Ideally, this
timeout is a multiple of the heartbeat interval.
parent e83e5f84
...@@ -125,6 +125,9 @@ actor_system_config::actor_system_config() ...@@ -125,6 +125,9 @@ actor_system_config::actor_system_config()
.add<size_t>("max-consecutive-reads", .add<size_t>("max-consecutive-reads",
"max. number of consecutive reads per broker") "max. number of consecutive reads per broker")
.add<timespan>("heartbeat-interval", "interval of heartbeat messages") .add<timespan>("heartbeat-interval", "interval of heartbeat messages")
.add<timespan>("connection-timeout",
"max. time between messages before declaring a node dead "
"(ignored if heartbeats are disabled)")
.add<bool>("attach-utility-actors", .add<bool>("attach-utility-actors",
"schedule utility actors instead of dedicating threads") "schedule utility actors instead of dedicating threads")
.add<bool>("manual-multiplexing", .add<bool>("manual-multiplexing",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment