Roxen.git/
server/
base_server/
fsgc.pike
Branch:
Tag:
Non-build tags
All tags
No tags
2017-11-16
2017-11-16 15:09:18 by Anders Johansson <anders@roxen.com>
fce991af13e5dac3b513d13c09b7bcc89aaed881 (
6
lines) (+
6
/-
0
)
[
Show
|
Annotate
]
Branch:
patches/ep302
FSGC: Override accelerated stable change notification
[EP-327]
365:
{ GC_WERR("FSGC: Deleting stale file: %O\n", path); if (path == root) return;
+
// Override accelerated stable change notification.
+
if (st->mtime > time(1) - stable_time) {
+
GC_WERR("FSGC: Keeping file: %O\n", path);
+
return;
+
}
rm(path); }