aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDmitriy Alekseev <1865999+dragoangel@users.noreply.github.com>2024-10-14 15:23:36 +0200
committerDmitriy Alekseev <1865999+dragoangel@users.noreply.github.com>2024-10-14 15:23:36 +0200
commitbeff1ed34a04a9886f349bfb7ab2abf913bec51a (patch)
treec87c21cf34dd75b1503fee1a35ca742175ea0540 /src
parentbcc4e26d8c695ab30fb3e4037fd116dac17bb06d (diff)
downloadrspamd-beff1ed34a04a9886f349bfb7ab2abf913bec51a.tar.gz
rspamd-beff1ed34a04a9886f349bfb7ab2abf913bec51a.zip
fix tabulation
Diffstat (limited to 'src')
-rw-r--r--src/plugins/lua/elastic.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/lua/elastic.lua b/src/plugins/lua/elastic.lua
index 66199db78..368ef5b74 100644
--- a/src/plugins/lua/elastic.lua
+++ b/src/plugins/lua/elastic.lua
@@ -618,7 +618,7 @@ local function get_general_metadata(task)
end
local fuzzy_hashes = task:get_mempool():get_variable('fuzzy_hashes', 'fstrings')
-r.fuzzy_hashes = fuzzy_hashes or empty
+ r.fuzzy_hashes = fuzzy_hashes or empty
r.received_delay = 0
if user then -- calculate received_delay only for incoming traffic
@@ -665,7 +665,6 @@ local function periodic_send_data(cfg, ev_base)
local now = tostring(rspamd_util.get_time() * 1000)
local flush_needed = false
-
local nlogs_total = buffer['logs']:length()
if nlogs_total >= settings['limits']['max_rows'] then
rspamd_logger.infox(rspamd_config, 'flushing buffer by reaching max rows: %s/%s', nlogs_total, settings['limits']['max_rows'])