diff options
| author | Dirk Engling <erdgeist@erdgeist.org> | 2026-10-27 21:32:24 +0100 |
|---|---|---|
| committer | Dirk Engling <erdgeist@erdgeist.org> | 2026-10-27 21:32:24 +0100 |
| commit | 6cbd21542cf7a751e6f0f38864e7e9eae8fa3b14 (patch) | |
| tree | b5416c7e6ad2ac30cfe51559f69c122ed493450d /ot_livesync.c | |
| parent | e1d7b7771e915a01b5f1dd12664a6ac7fb397dfb (diff) | |
Plug in the new per-thread stats counter, also make sure that the ot_clean sleep does not stall tracker exit
Diffstat (limited to 'ot_livesync.c')
| -rw-r--r-- | ot_livesync.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
| 143 | off += sizeof(ot_hash) + peer_size; | 143 | off += sizeof(ot_hash) + peer_size; |
| 144 | } | 144 | } |
| 145 | 145 | ||
| 146 | stats_issue_event(EVENT_SYNC, 0, (ws->request_size - sizeof(g_tracker_id) - sizeof(uint32_t)) / ((ssize_t)sizeof(ot_hash) + peer_size)); | 146 | stats_issue_event(ws, EVENT_SYNC, 0, (ws->request_size - sizeof(g_tracker_id) - sizeof(uint32_t)) / ((ssize_t)sizeof(ot_hash) + peer_size)); |
| 147 | } | 147 | } |
| 148 | 148 | ||
| 149 | /* Tickle the live sync module from time to time, so no events get | 149 | /* Tickle the live sync module from time to time, so no events get |
