commit 4d5ad72: [Minor] Slightly improve debug message
Vsevolod Stakhov
vsevolod at highsecure.ru
Thu Mar 18 10:42:08 UTC 2021
Author: Vsevolod Stakhov
Date: 2021-03-18 10:39:52 +0000
URL: https://github.com/rspamd/rspamd/commit/4d5ad72a0de469ad67a7d5fba574d9ac756998e1
[Minor] Slightly improve debug message
---
src/libserver/monitored.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/libserver/monitored.c b/src/libserver/monitored.c
index e1fac6fa1..14c0137e0 100644
--- a/src/libserver/monitored.c
+++ b/src/libserver/monitored.c
@@ -680,10 +680,11 @@ rspamd_monitored_start (struct rspamd_monitored *m)
gdouble jittered;
g_assert (m != NULL);
- msg_debug_mon ("started monitored object %s", m->url);
jittered = rspamd_time_jitter (m->ctx->monitoring_interval * m->monitoring_mult,
0.0);
+ msg_debug_mon ("started monitored object %s in %.2f seconds", m->url, jittered);
+
if (ev_can_stop (&m->periodic)) {
ev_timer_stop (m->ctx->event_loop, &m->periodic);
}
More information about the Commits
mailing list