commit 01d182c: Merge pull request #4774 from rspamd/vstakhov-redis-cache-rework

GitHub noreply at github.com
Mon Jul 29 17:51:24 UTC 2024


Author: Vsevolod Stakhov
Date: 2024-01-17 21:27:24 +0600
URL: https://github.com/rspamd/rspamd/commit/01d182c86318c9776dcaa7a6c64a19c8c0783b9d

Merge pull request #4774 from rspamd/vstakhov-redis-cache-rework
Rewrite redis_cache logic in statistics

 lualib/lua_bayes_redis.lua                 |  98 +++++-
 lualib/redis_scripts/bayes_cache_check.lua |  20 ++
 lualib/redis_scripts/bayes_cache_learn.lua |  61 ++++
 src/libstat/CMakeLists.txt                 |   2 +-
 src/libstat/backends/redis_backend.cxx     |   4 +-
 src/libstat/learn_cache/redis_cache.c      | 535 -----------------------------
 src/libstat/learn_cache/redis_cache.cxx    | 315 +++++++++++++++++
 7 files changed, 488 insertions(+), 547 deletions(-)


More information about the Commits mailing list