summaryrefslogtreecommitdiffstats
path: root/src/rspamd_proxy.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-03-22 10:26:53 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-03-22 10:26:53 +0000
commit6c82b33813c0704e30902ef316236889cfc1f1a6 (patch)
tree4622b937ea6c2001507337cbef070bc04994efec /src/rspamd_proxy.c
parent9384b6b83ffbe2ac85d57893a25da48261b033fb (diff)
downloadrspamd-6c82b33813c0704e30902ef316236889cfc1f1a6.tar.gz
rspamd-6c82b33813c0704e30902ef316236889cfc1f1a6.zip
[Fix] Disable results caching
Diffstat (limited to 'src/rspamd_proxy.c')
-rw-r--r--src/rspamd_proxy.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rspamd_proxy.c b/src/rspamd_proxy.c
index e3127f621..d19f769a1 100644
--- a/src/rspamd_proxy.c
+++ b/src/rspamd_proxy.c
@@ -1598,6 +1598,8 @@ rspamd_proxy_scan_self_reply (struct rspamd_task *task)
case CMD_PROCESS:
case CMD_SKIP:
case CMD_CHECK_V2:
+ task->time_real_finish = rspamd_get_ticks (FALSE);
+ task->time_virtual_finish = rspamd_get_virtual_ticks ();
rspamd_protocol_http_reply (msg, task, &rep);
rspamd_protocol_write_log_pipe (task);
break;