From: Dmitriy Alekseev <1865999+dragoangel@users.noreply.github.com> Date: Mon, 14 Oct 2024 12:49:31 +0000 (+0200) Subject: align conf and module settings in lua X-Git-Tag: 3.11.0~33^2~21 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bcc4e26d8c695ab30fb3e4037fd116dac17bb06d;p=thirdparty%2Frspamd.git align conf and module settings in lua --- diff --git a/src/plugins/lua/elastic.lua b/src/plugins/lua/elastic.lua index b117d6e4c7..66199db78d 100644 --- a/src/plugins/lua/elastic.lua +++ b/src/plugins/lua/elastic.lua @@ -80,7 +80,7 @@ local settings = { } }, limits = { - max_rows = 1000, -- max logs in one bulk req to elastic and first reason to flush buffer + max_rows = 500, -- max logs in one bulk req to elastic and first reason to flush buffer max_interval = 60, -- seconds, if first log in buffer older then interval - flush buffer max_size = 5000000, -- max symbols count in buffer, if reached - flush buffer, f.e: 5000000 ~= 10MB/normal-worker max_fail = 3,