Skip to content

Commit

Permalink
Adjust heatbeat to 0.5 seconds, hoping that it will decrease the risk…
Browse files Browse the repository at this point in the history
… of false positives. Timeout still 10 seconds.
  • Loading branch information
KADichev authored and KADichev committed Nov 15, 2018
1 parent 498909a commit 27736d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion allscale/components/resilience.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ namespace allscale { namespace components {
std::chrono::high_resolution_clock::time_point start_time,trust_lease;
std::atomic<std::size_t> protectee_heartbeat;
std::size_t my_heartbeat;
const std::size_t miu = 1000;
const std::size_t miu = 500;
const std::size_t delta = 10000;
boost::dynamic_bitset<> rank_running_;
std::size_t get_running_ranks();
Expand Down

0 comments on commit 27736d3

Please sign in to comment.