rotate pending on the relay working
[deliverable/lttng-tools.git] / src / bin / lttng-sessiond / rotation-thread.c
index 6159359e01c886c2de0ee9d15afa66ce7645612b..4431a9494988a0c69f8279e5d19721f74696ba74 100644 (file)
@@ -398,7 +398,8 @@ int handle_rotate_timer_pipe(int fd, uint32_t revents,
        if (ret == 0) {
                DBG("[rotation-thread] Rotation completed on the relay for "
                                "session %" PRIu64, session_id);
-               /* TODO: delete timer */
+               session->rotate_pending_relay = 0;
+               sessiond_timer_rotate_pending_stop(session);
        } else if (ret == 1) {
                DBG("[rotation-thread] Rotation still pending on the relay for "
                                "session %" PRIu64, session_id);
This page took 0.026477 seconds and 5 git commands to generate.