Skip to content

Commit

Permalink
Downgrade worker progress thread start/stop log to debug
Browse files Browse the repository at this point in the history
  • Loading branch information
pentschev committed Oct 30, 2023
1 parent 130815d commit 1550d3a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cpp/src/worker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ void Worker::setProgressThreadStartCallback(std::function<void(void*)> callback,
void Worker::startProgressThread(const bool pollingMode, const int epollTimeout)
{
if (_progressThread) {
ucxx_warn("Worker progress thread already running");
ucxx_debug("Worker progress thread already running");
return;
}

Expand Down Expand Up @@ -390,7 +390,7 @@ void Worker::stopProgressThreadNoWarn() { _progressThread = nullptr; }
void Worker::stopProgressThread()
{
if (!_progressThread)
ucxx_warn("Worker progress thread not running or already stopped");
ucxx_debug("Worker progress thread not running or already stopped");
else
stopProgressThreadNoWarn();
}
Expand Down
2 changes: 1 addition & 1 deletion cpp/src/worker_progress_thread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ WorkerProgressThread::WorkerProgressThread(
WorkerProgressThread::~WorkerProgressThread()
{
if (!_thread.joinable()) {
ucxx_warn("Worker progress thread not running or already stopped");
ucxx_debug("Worker progress thread not running or already stopped");
return;
}

Expand Down

0 comments on commit 1550d3a

Please sign in to comment.