Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

Commit

Permalink
Update core/utils/async_utils.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
MBkkt authored Oct 31, 2023
1 parent 0f58548 commit 9aac94f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/utils/async_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ bool ThreadPool<UseDelay>::run(Func&& fn, Clock::duration delay) {
return false;
}
tasks_.emplace(std::move(fn), at);
// TODO We can don't notify when new element is more delayed than min
// TODO We can skip notify when new element is more delayed than min
} else {
std::unique_lock lock{m_};
if (WasStop()) {
Expand Down

0 comments on commit 9aac94f

Please sign in to comment.