The caching time comparison uses mtime which is too high a resolution to be practical.
By casting mtime.to_i we reduce the resolution and allow a cache hit to take place when the files are, to all extents and purposes, created at the same time.
This assist us in migrating to a gem bundle of ACLs.
The caching time comparison uses
mtime
which is too high a resolution to be practical.By casting
mtime.to_i
we reduce the resolution and allow a cache hit to take place when the files are, to all extents and purposes, created at the same time.This assist us in migrating to a
gem
bundle of ACLs.