Permalink
Browse files

Delay partition healing.

  • Loading branch information...
1 parent 6eec58b commit 122fb3e28a5e99adb4d9d3fbc388a6b94ffd0664 @benbjohnson committed Jan 7, 2014
Showing with 5 additions and 2 deletions.
  1. +1 −1 raft/index.html
  2. +4 −1 raft/scripts/frames/replication.js
View
@@ -30,7 +30,7 @@
<ul class="dropdown-menu pull-right" role="menu">
</ul>
</div>
- <a class="navbar-brand" href="#">
+ <a class="navbar-brand" href="/">
The Secret Lives of Data
</a>
</div>
@@ -183,8 +183,11 @@ define([], function () {
})
.after(1, wait).indefinite()
.after(1, function () {
- model().resetLatencies();
model().partitions.removeAll();
+ layout.invalidate();
+ })
+ .after(200, function () {
+ model().resetLatencies();
})
.at(model(), "stateChange", function(event) {
return (event.target.id === "B" && event.target.state() === "follower");

0 comments on commit 122fb3e

Please sign in to comment.