summaryrefslogtreecommitdiffstats
path: root/src/rspamd.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2024-06-24 14:48:17 +0100
committerVsevolod Stakhov <vsevolod@rspamd.com>2024-06-24 14:48:17 +0100
commit655afcbbe99a841275ba34534f9300a67fede996 (patch)
treeb4b807aa0ce73c5c530a0ce8c7b72638acf0f417 /src/rspamd.c
parent2f13954449f33553178be3101229d59bdbdfd094 (diff)
downloadrspamd-655afcbbe99a841275ba34534f9300a67fede996.tar.gz
rspamd-655afcbbe99a841275ba34534f9300a67fede996.zip
[Feature] Support metrics command in normal/proxy workers
Diffstat (limited to 'src/rspamd.c')
-rw-r--r--src/rspamd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rspamd.c b/src/rspamd.c
index dc5535f0c..117f3b995 100644
--- a/src/rspamd.c
+++ b/src/rspamd.c
@@ -1644,6 +1644,7 @@ int main(int argc, char **argv, char **env)
exit(EXIT_FAILURE);
}
+ rspamd_main->start_time = ev_time();
/* Unblock signals */
sigemptyset(&signals.sa_mask);
sigprocmask(SIG_SETMASK, &signals.sa_mask, NULL);