Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2012-06-21 17:03:21 +0400
committerBen Noordhuis <info@bnoordhuis.nl>2012-06-21 17:03:21 +0400
commitef1ffcb717aa16549eb4380badb9709aca3aeb46 (patch)
tree492f3ab961a56e00f31c21953cf2b89cc0b7db80 /src/node_stat_watcher.h
parentf0ce98441ff7315e6a6c268dabcec58fc37da926 (diff)
fs: make fs.watchFile() interval default to 5007
Diffstat (limited to 'src/node_stat_watcher.h')
-rw-r--r--src/node_stat_watcher.h3
1 files changed, 0 insertions, 3 deletions
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<v8::FunctionTemplate> 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