]> source.dussan.org Git - rspamd.git/commitdiff
fix tabulation
authorDmitriy Alekseev <1865999+dragoangel@users.noreply.github.com>
Mon, 14 Oct 2024 13:23:36 +0000 (15:23 +0200)
committerDmitriy Alekseev <1865999+dragoangel@users.noreply.github.com>
Mon, 14 Oct 2024 13:23:36 +0000 (15:23 +0200)
src/plugins/lua/elastic.lua

index 66199db78dfd62433b3e4753b82c0284099d4118..368ef5b746706bad4dc1e02eb1988c72bce5d1b8 100644 (file)
@@ -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'])