commit 98388a5: [Minor] Ignore atime change in ev_stat

Vsevolod Stakhov vsevolod at highsecure.ru
Sun Oct 18 18:56:06 UTC 2020


Author: Vsevolod Stakhov
Date: 2020-10-18 19:53:31 +0100
URL: https://github.com/rspamd/rspamd/commit/98388a5b3b0c609b97861dd872fc6db1c3df7ec6 (HEAD -> master)

[Minor] Ignore atime change in ev_stat

---
 contrib/libev/ev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/libev/ev.c b/contrib/libev/ev.c
index e569a010c..886a45ed1 100644
--- a/contrib/libev/ev.c
+++ b/contrib/libev/ev.c
@@ -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
   ) {


More information about the Commits mailing list