From e62b985f8c2caa5de287ad783abd8fdfbfbf4401 Mon Sep 17 00:00:00 2001 From: Yarik Briukhovetskyi <114298166+yariks5s@users.noreply.github.com> Date: Fri, 1 Nov 2024 20:32:34 +0100 Subject: [PATCH] Fix build. --- src/Backups/BackupCoordinationStageSync.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Backups/BackupCoordinationStageSync.cpp b/src/Backups/BackupCoordinationStageSync.cpp index 9a05f9490c2..dea70ff24d2 100644 --- a/src/Backups/BackupCoordinationStageSync.cpp +++ b/src/Backups/BackupCoordinationStageSync.cpp @@ -641,7 +641,7 @@ void BackupCoordinationStageSync::cancelQueryIfError() exception = state.hosts.at(*state.host_with_error).exception; } - process_list_element->cancelQuery(false, exception); + process_list_element->cancelQuery(CancelReason::CANCELLED_BY_USER, exception); state_changed.notify_all(); } @@ -692,7 +692,7 @@ void BackupCoordinationStageSync::cancelQueryIfDisconnectedTooLong() state.cancelled = true; } - process_list_element->cancelQuery(false, exception); + process_list_element->cancelQuery(CancelReason::TIMEOUT, exception); state_changed.notify_all(); }