MXS-2314 Remove unnecessary worker states

The removed states were not used for anything useful.
This commit is contained in:
Johan Wikman
2019-02-08 17:04:27 +02:00
parent 6425d4ed0c
commit 72d02d33c0
4 changed files with 1 additions and 15 deletions

View File

@ -152,10 +152,6 @@ void dShowThreads(DCB* dcb)
state = "Stopped";
break;
case Worker::IDLE:
state = "Idle";
break;
case Worker::POLLING:
state = "Polling";
break;
@ -164,10 +160,6 @@ void dShowThreads(DCB* dcb)
state = "Processing";
break;
case Worker::ZPROCESSING:
state = "Collecting";
break;
default:
mxb_assert(!true);
}

View File

@ -625,8 +625,6 @@ void RoutingWorker::epoll_tick()
{
dcb_process_idle_sessions(m_id);
m_state = ZPROCESSING;
delete_zombies();
check_systemd_watchdog();