Skip to content

Commit

Permalink
Reset error delay on success
Browse files Browse the repository at this point in the history
  • Loading branch information
nileema committed Oct 9, 2015
1 parent 75a1bd4 commit 378e21e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ public void onSuccess(PagesResponse result)
}
future = null;
lastUpdate = DateTime.now();

errorDelayMillis = 0;
}
requestsCompleted.incrementAndGet();
clientCallback.requestComplete(HttpPageBufferClient.this);
Expand Down Expand Up @@ -350,6 +350,7 @@ public void onSuccess(@Nullable StatusResponse result)
closed = true;
future = null;
lastUpdate = DateTime.now();
errorDelayMillis = 0;
}
requestsCompleted.incrementAndGet();
clientCallback.clientFinished(HttpPageBufferClient.this);
Expand Down

0 comments on commit 378e21e

Please sign in to comment.