Update TimerDescriptor.cpp

This commit is contained in:
Kruglov Pavel 2022-06-29 13:01:14 +02:00 committed by GitHub
parent 30fd086b5e
commit 77873e75bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,6 +6,8 @@
#include <fcntl.h>
#include <unistd.h>
#include <Common/logger_useful.h>
namespace DB
{
@ -70,6 +72,8 @@ void TimerDescriptor::drain() const
if (errno != EINTR)
throwFromErrno("Cannot drain timer_fd", ErrorCodes::CANNOT_READ_FROM_SOCKET);
else
LOG_DEBUG(&Poco::Logger::get("TimerDescriptor"), "EINTR");
}
}
}