diff options
author | Dmitriy Alekseev <1865999+dragoangel@users.noreply.github.com> | 2024-10-14 14:49:31 +0200 |
---|---|---|
committer | Dmitriy Alekseev <1865999+dragoangel@users.noreply.github.com> | 2024-10-14 14:49:31 +0200 |
commit | bcc4e26d8c695ab30fb3e4037fd116dac17bb06d (patch) | |
tree | 2f7c2ade719b454cd4aa3cf62fd6c039a9b22917 /src | |
parent | 28b772738c09661bb9845cb7330c2381eb143404 (diff) | |
download | rspamd-bcc4e26d8c695ab30fb3e4037fd116dac17bb06d.tar.gz rspamd-bcc4e26d8c695ab30fb3e4037fd116dac17bb06d.zip |
align conf and module settings in lua
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/lua/elastic.lua | 2 |
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, |