Skip to content

Commit

Permalink
GH-284 milliseconds instead of microseconds
Browse files Browse the repository at this point in the history
  • Loading branch information
heifner committed Oct 9, 2024
1 parent 514b479 commit 0434e15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/chain/controller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4472,7 +4472,7 @@ struct controller_impl {
}
// Break every ~500ms to allow other tasks (e.g. get_info, SHiP) opportunity to run. There is a post
// for every incoming blocks; enough posted tasks to apply all blocks queued to the fork db.
if (!replaying && fc::time_point::now() - start > fc::microseconds(500))
if (!replaying && fc::time_point::now() - start > fc::milliseconds(500))
break;

} catch ( const std::bad_alloc& ) {
Expand Down

0 comments on commit 0434e15

Please sign in to comment.