Permalink
Browse files

add patch to relieve 100% CPU utilization

  • Loading branch information...
1 parent 65ce97b commit 676c6314103a2aa8216ba775d393a427081473d5 @jtriley committed Oct 19, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 libH/FileEventWatcher.cpp
@@ -231,7 +231,7 @@ boost::shared_ptr<FileWatchee> FileEventWatcher::addFileToWatch(std::string File
break;
case WATCH_INOUT:
flags = O_RDWR;
- events = POLLIN | POLLOUT;
+ events = POLLIN;// | POLLOUT;
ModeString = "Read / Write";
break;
case WATCH_INVALID:

0 comments on commit 676c631

Please sign in to comment.