Commit 658a60b3 authored by Shijin Kong's avatar Shijin Kong Committed by facebook-github-bot-4

change log error back to check when pipe read fail in notification queue

Summary: Revert D2632752

Reviewed By: afrind

Differential Revision: D2638974

fb-gh-sync-id: 43d8135421510db7840a99f3c197119a0fd26c09
parent c5ec1136
......@@ -511,9 +511,7 @@ class NotificationQueue {
if (rc < 0) {
// EAGAIN should pretty much be the only error we can ever get.
// This means someone else already processed the only available message.
if (rc != EAGAIN) {
LOG(ERROR) << "non-EAGAIN error returned on pipe read: " << errno;
}
CHECK_EQ(errno, EAGAIN);
return false;
}
assert(value == 1);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment