Fix build.

This commit is contained in:
Yarik Briukhovetskyi 2024-11-01 20:32:34 +01:00 committed by GitHub
parent 40104a9cb5
commit e62b985f8c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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();
}