Disable IdleWatcher

pull/22966/head
Ryan Dahl 2010-04-13 15:43:22 -07:00
parent 4e7e2f8724
commit a98d23d905
2 changed files with 6 additions and 3 deletions

View File

@ -21,7 +21,10 @@
#include <node_cares.h>
#include <node_net.h>
#include <node_file.h>
#include <node_idle_watcher.h>
#if 0
// not in use
# include <node_idle_watcher.h>
#endif
#include <node_http.h>
#include <node_http_parser.h>
#include <node_signal_watcher.h>
@ -1432,7 +1435,8 @@ static void Load(int argc, char *argv[]) {
// Initialize the C++ modules..................filename of module
IOWatcher::Initialize(process); // io_watcher.cc
IdleWatcher::Initialize(process); // idle_watcher.cc
// Not in use at the moment.
//IdleWatcher::Initialize(process); // idle_watcher.cc
Timer::Initialize(process); // timer.cc
DefineConstants(process); // constants.cc

View File

@ -385,7 +385,6 @@ def build(bld):
src/node_stat_watcher.cc
src/node_stdio.cc
src/node_timer.cc
src/node_idle_watcher.cc
"""
if not bld.env["USE_SYSTEM"]:
node.includes = """