aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-03-21 13:14:04 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-03-21 13:14:23 +0000
commit3d293752557974fdedfec048fe95179fd70f6803 (patch)
tree2701df6ecf02430aa27af6d9da3adb888e3c9021 /src/plugins
parent198e242157ed81b871671f6a77e3d525a57350a5 (diff)
downloadrspamd-3d293752557974fdedfec048fe95179fd70f6803.tar.gz
rspamd-3d293752557974fdedfec048fe95179fd70f6803.zip
[Fix] Fix ES sending logic (restore from coroutines mess)
Issue: #2808 Closes: #2808
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 b6da33bf8..03462f9eb 100644
--- a/src/plugins/lua/elastic.lua
+++ b/src/plugins/lua/elastic.lua
@@ -96,7 +96,7 @@ local function elastic_send_data(task)
end
end
- rspamd_http.request({
+ return rspamd_http.request({
url = push_url,
headers = {
['Content-Type'] = 'application/x-ndjson',