Skip to content

Commit

Permalink
Merge pull request #129 from tontechio/develop
Browse files Browse the repository at this point in the history
cpu utilisation fix for mining stats
  • Loading branch information
tontechio authored Dec 16, 2021
2 parents c658472 + 98c3a27 commit 5bb3442
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crypto/util/pow-miner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ void print_stats(std::string status, ton::Miner::Options options) {
ton::Miner::print_stats(status, options.start_at, *options.hashes_computed, *options.instant_passed,
*options.instant_hashes_computed);
print_at = td::Timestamp::in(5);
std::this_thread::sleep_for(std::chrono::milliseconds(100));
}
std::this_thread::sleep_for(std::chrono::milliseconds(100));
}
}

Expand Down

0 comments on commit 5bb3442

Please sign in to comment.