Roxen.git/
server/
base_server/
fsgc.pike
Branch:
Tag:
Non-build tags
All tags
No tags
2017-11-17
2017-11-17 10:19:58 by Anders Johansson <anders@roxen.com>
6b2b62fd296c5fa02ab30793885c7d2975adc08d (
8
lines) (+
8
/-
0
)
[
Show
|
Annotate
]
Branch:
patches/ep302
FSGC: Avoid using DefaultMonitor implementation
[EP-329]
330:
} }
+
constant DefaultMonitor = Monitor;
+
protected void create(string modid, string path, int max_age, int|void max_size, int|void max_files, string|void quarantine)
365:
{ if (path == root) return; GC_WERR("FSGC: Deleting stale file: %O\n", path);
+
+
#if 0
+
// If we ever use accelerated notifications again.
+
// Override accelerated stable change notification. if (st->mtime >= time(1) - stable_time) { GC_WERR("FSGC: Keeping file: %O\n", path);
375:
m->check(); // Force an update(). return; }
+
#endif
rm(path); }