From 6cbd21542cf7a751e6f0f38864e7e9eae8fa3b14 Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Tue, 27 Oct 2026 21:32:24 +0100 Subject: Plug in the new per-thread stats counter, also make sure that the ot_clean sleep does not stall tracker exit --- ot_livesync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ot_livesync.c') diff --git a/ot_livesync.c b/ot_livesync.c index fb0bef2..45271bc 100644 --- a/ot_livesync.c +++ b/ot_livesync.c @@ -143,7 +143,7 @@ static void livesync_handle_peersync(struct ot_workstruct *ws, size_t peer_size) off += sizeof(ot_hash) + peer_size; } - stats_issue_event(EVENT_SYNC, 0, (ws->request_size - sizeof(g_tracker_id) - sizeof(uint32_t)) / ((ssize_t)sizeof(ot_hash) + peer_size)); + stats_issue_event(ws, EVENT_SYNC, 0, (ws->request_size - sizeof(g_tracker_id) - sizeof(uint32_t)) / ((ssize_t)sizeof(ot_hash) + peer_size)); } /* Tickle the live sync module from time to time, so no events get -- cgit v1.3