aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorDmitriy Alekseev <1865999+dragoangel@users.noreply.github.com>2024-10-14 14:49:31 +0200
committerDmitriy Alekseev <1865999+dragoangel@users.noreply.github.com>2024-10-14 14:49:31 +0200
commitbcc4e26d8c695ab30fb3e4037fd116dac17bb06d (patch)
tree2f7c2ade719b454cd4aa3cf62fd6c039a9b22917 /src/plugins
parent28b772738c09661bb9845cb7330c2381eb143404 (diff)
downloadrspamd-bcc4e26d8c695ab30fb3e4037fd116dac17bb06d.tar.gz
rspamd-bcc4e26d8c695ab30fb3e4037fd116dac17bb06d.zip
align conf and module settings in lua
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/lua/elastic.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/elastic.lua b/src/plugins/lua/elastic.lua
index b117d6e4c..66199db78 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,