Merge remote-tracking branch 'krobelus/stop-busy-polling-of-command-socket'

This commit is contained in:
Maxime Coste 2023-11-05 11:11:02 +11:00
commit cf6e18e3c1

View File

@ -776,7 +776,7 @@ class Server::Accepter
{ {
public: public:
Accepter(int socket) Accepter(int socket)
: m_socket_watcher(socket, FdEvents::Read, EventMode::Urgent, : m_socket_watcher(socket, FdEvents::Read, EventMode::Normal,
[this](FDWatcher&, FdEvents, EventMode mode) { [this](FDWatcher&, FdEvents, EventMode mode) {
handle_available_input(mode); handle_available_input(mode);
}) })