Commit a4b4c689 authored by Ivan Vilata-i-Balaguer's avatar Ivan Vilata-i-Balaguer
Browse files

Turn some values into static constants.

parent a1ec6e8e
......@@ -60,11 +60,10 @@ private:
mapping_disabled();
});
// TODO: static const
auto lease_duration = minutes(3);
auto success_wait_time = lease_duration - seconds(10);
auto failure_wait_time = minutes(1);
auto recent_margin = seconds(10); // max RPC round-trip time
static const auto lease_duration = minutes(3);
static const auto success_wait_time = lease_duration - seconds(10);
static const auto failure_wait_time = minutes(1);
static const auto recent_margin = seconds(10); // max RPC round-trip time
auto mapping_desc = (boost::format("Ouinet-%08x") % _random_id).str();
......
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