Skip to content

Commit

Permalink
cpu utilisation fix for mining stats
Browse files Browse the repository at this point in the history
  • Loading branch information
tontechio committed Dec 16, 2021
1 parent d8f7db5 commit 98c3a27
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 98c3a27

Please sign in to comment.