diff options
author | Eric Wong <e@80x24.org> | 2021-01-24 22:41:55 -0800 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-01-26 18:51:31 +0000 |
commit | 4680a0fad00650a53b5f81e01516c954821d8309 (patch) | |
tree | d2480caec25c89942a110c6144480b4be54dcf5e | |
parent | 9c1ef5c25100ad23c59404d5ca80994645f8c9c8 (diff) | |
download | public-inbox-4680a0fad00650a53b5f81e01516c954821d8309.tar.gz |
The default stat() lacks subsecond granularity and may lead to config updates being ignored.
-rw-r--r-- | lib/PublicInbox/LEI.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/PublicInbox/LEI.pm b/lib/PublicInbox/LEI.pm index 09eac58c..effc6c52 100644 --- a/lib/PublicInbox/LEI.pm +++ b/lib/PublicInbox/LEI.pm @@ -24,6 +24,7 @@ use PublicInbox::DS qw(now dwaitpid); use PublicInbox::Spawn qw(spawn popen_rd); use PublicInbox::OnDestroy; use Text::Wrap qw(wrap); +use Time::HiRes qw(stat); # ctime comparisons for config cache use File::Path qw(mkpath); use File::Spec; our $quit = \&CORE::exit; |