Skip to content

Commit 0434e15

Browse files
committed
GH-284 milliseconds instead of microseconds
1 parent 514b479 commit 0434e15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/chain/controller.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -4472,7 +4472,7 @@ struct controller_impl {
44724472
}
44734473
// Break every ~500ms to allow other tasks (e.g. get_info, SHiP) opportunity to run. There is a post
44744474
// for every incoming blocks; enough posted tasks to apply all blocks queued to the fork db.
4475-
if (!replaying && fc::time_point::now() - start > fc::microseconds(500))
4475+
if (!replaying && fc::time_point::now() - start > fc::milliseconds(500))
44764476
break;
44774477

44784478
} catch ( const std::bad_alloc& ) {

0 commit comments

Comments
 (0)