Skip to content

Commit

Permalink
finer granularity timer checks
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioDemianLerner committed Jan 4, 2018
1 parent 765eafd commit 94811ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rskj-core/src/main/java/co/rsk/mine/MinerServerImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ public void setFallbackMiningState() {
fallbackMiningTimer = new Timer("Private mining timer");
}
if (!fallbackMiningScheduled) {
fallbackMiningTimer.schedule(new FallbackMiningTask(), 2000,2000 );
fallbackMiningTimer.schedule(new FallbackMiningTask(), 1000,1000 );
fallbackMiningScheduled = true;
}
// Because the Refresh occurs only once every minute,
Expand Down

0 comments on commit 94811ac

Please sign in to comment.