Skip to content

Commit

Permalink
Remove temp debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
heifner committed Sep 14, 2023
1 parent 718e17d commit 0b09468
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions plugins/producer_plugin/producer_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2855,8 +2855,6 @@ void producer_plugin_impl::switch_to_read_window() {

_time_tracker.pause();

fc_dlog(_log, "switch to read");

// we are in write window, so no read-only trx threads are processing transactions.
if (app().executor().read_only_queue().empty()) { // no read-only tasks to process. stay in write window
start_write_window(); // restart write window timer for next round
Expand All @@ -2881,7 +2879,6 @@ void producer_plugin_impl::switch_to_read_window() {
_ro_exec_tasks_fut.emplace_back(post_async_task(
_ro_thread_pool.get_executor(), [self = this, pending_block_num]() { return self->read_only_execution_task(pending_block_num); }));
}
fc_dlog(_log, "read window");

auto expire_time = boost::posix_time::microseconds(_ro_read_window_time_us.count());
_ro_timer.expires_from_now(expire_time);
Expand Down

0 comments on commit 0b09468

Please sign in to comment.