diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-03-22 15:18:49 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-03-22 15:32:33 +0000 |
commit | 8807b9d2a9ff9b4d9a200aec60221d6f0951f9c1 (patch) | |
tree | e7b1af385772689a424d04a2bdcfe4010b6ab5ff /src/rspamd_proxy.c | |
parent | c9e0716e3e736c22a966a954ba2429eebda96a0a (diff) | |
download | rspamd-8807b9d2a9ff9b4d9a200aec60221d6f0951f9c1.tar.gz rspamd-8807b9d2a9ff9b4d9a200aec60221d6f0951f9c1.zip |
[Fix] Fix scan time set
Diffstat (limited to 'src/rspamd_proxy.c')
-rw-r--r-- | src/rspamd_proxy.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/rspamd_proxy.c b/src/rspamd_proxy.c index d19f769a1..47dbf606d 100644 --- a/src/rspamd_proxy.c +++ b/src/rspamd_proxy.c @@ -1598,8 +1598,7 @@ 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_task_set_finish_time (task); rspamd_protocol_http_reply (msg, task, &rep); rspamd_protocol_write_log_pipe (task); break; |