]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Minor] Ignore atime change in ev_stat
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Sun, 18 Oct 2020 18:53:31 +0000 (19:53 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Sun, 18 Oct 2020 18:53:46 +0000 (19:53 +0100)
contrib/libev/ev.c

index e569a010c4088f1678717c4efbe1cc970690bca3..886a45ed103f7fa7cf5df4ef530c49efbf9e97b4 100644 (file)
@@ -5034,7 +5034,7 @@ stat_timer_cb (EV_P_ ev_timer *w_, int revents)
     || prev.st_gid   != w->attr.st_gid
     || prev.st_rdev  != w->attr.st_rdev
     || prev.st_size  != w->attr.st_size
-    || prev.st_atime != w->attr.st_atime
+    /*   || prev.st_atime != w->attr.st_atime */ /* Rspamd: to avoid constant maps reload */
     || prev.st_mtime != w->attr.st_mtime
     || prev.st_ctime != w->attr.st_ctime
   ) {