Skip to content

Commit

Permalink
fiber_scheduler: Move two messages into TRACE
Browse files Browse the repository at this point in the history
  • Loading branch information
lhmouse committed Apr 8, 2024
1 parent 97a2e6a commit da35a47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions poseidon/static/fiber_scheduler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ yield(const Abstract_Fiber& tfiber, shptrR<Abstract_Future> futr_opt, millisecon
lock.unlock();
}

POSEIDON_LOG_DEBUG(("Suspending fiber `$1` (class `$2`)"), fiber, typeid(*fiber));
POSEIDON_LOG_TRACE(("Suspending fiber `$1` (class `$2`)"), fiber, typeid(*fiber));
ROCKET_ASSERT(elem->state == fiber_running);
elem->state = fiber_suspended;
POSEIDON_CATCH_EVERYTHING(fiber->do_on_abstract_fiber_suspended());
Expand All @@ -449,7 +449,7 @@ yield(const Abstract_Fiber& tfiber, shptrR<Abstract_Future> futr_opt, millisecon
POSEIDON_CATCH_EVERYTHING(fiber->do_on_abstract_fiber_resumed());
ROCKET_ASSERT(elem->state == fiber_suspended);
elem->state = fiber_running;
POSEIDON_LOG_DEBUG(("Resumed fiber `$1` (class `$2`)"), fiber, typeid(*fiber));
POSEIDON_LOG_TRACE(("Resumed fiber `$1` (class `$2`)"), fiber, typeid(*fiber));
}

} // namespace poseidon

0 comments on commit da35a47

Please sign in to comment.