Commit fa71cf3e authored by Dominik Charousset's avatar Dominik Charousset

Fix lookup key for connection timeout

parent e42023f6
...@@ -112,7 +112,8 @@ behavior basp_broker::make_behavior() { ...@@ -112,7 +112,8 @@ behavior basp_broker::make_behavior() {
CAF_LOG_DEBUG("enable heartbeat" << CAF_ARG(heartbeat_interval)); CAF_LOG_DEBUG("enable heartbeat" << CAF_ARG(heartbeat_interval));
auto now = clock().now(); auto now = clock().now();
auto first_tick = now + heartbeat_interval; auto first_tick = now + heartbeat_interval;
auto connection_timeout = get_or(config(), "middleman.connection-timeout", auto connection_timeout = get_or(config(),
"caf.middleman.connection-timeout",
defaults::middleman::connection_timeout); defaults::middleman::connection_timeout);
// Note: we send the scheduled time as integer representation to avoid // Note: we send the scheduled time as integer representation to avoid
// having to assign a type ID to the time_point type. // having to assign a type ID to the time_point type.
......
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