Roxen.git/
server/
base_server/
fsgc.pike
Branch:
Tag:
Non-build tags
All tags
No tags
2017-11-27
2017-11-27 10:55:58 by Anders Johansson <anders@roxen.com>
462f4d11d9e1bf6465b850d3517a31ad806705e8 (
6
lines) (+
6
/-
0
)
[
Show
|
Annotate
]
Branch:
6.0
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); }