From ef1ffcb717aa16549eb4380badb9709aca3aeb46 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Thu, 21 Jun 2012 15:03:21 +0200 Subject: fs: make fs.watchFile() interval default to 5007 --- src/node_stat_watcher.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/node_stat_watcher.h') diff --git a/src/node_stat_watcher.h b/src/node_stat_watcher.h index 5b09d2f04c3..62bbce0fc82 100644 --- a/src/node_stat_watcher.h +++ b/src/node_stat_watcher.h @@ -35,7 +35,6 @@ class StatWatcher : ObjectWrap { static v8::Persistent constructor_template; StatWatcher() : ObjectWrap() { - persistent_ = false; uv_fs_poll_init(uv_default_loop(), &watcher_); } @@ -52,11 +51,9 @@ class StatWatcher : ObjectWrap { int status, const uv_statbuf_t* prev, const uv_statbuf_t* curr); - void Stop(); uv_fs_poll_t watcher_; - bool persistent_; }; } // namespace node -- cgit v1.2.3