From 911e465bf87547c97e443b6272f4d74879baf6d9 Mon Sep 17 00:00:00 2001 From: rumtid Date: Sat, 9 Nov 2024 11:00:20 +0800 Subject: [PATCH] Fix unwanted retries for the quota error (#1575) --- src/filebrowser/reliable-upload.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/filebrowser/reliable-upload.cpp b/src/filebrowser/reliable-upload.cpp index 6749f6c72..3dfe4c68e 100644 --- a/src/filebrowser/reliable-upload.cpp +++ b/src/filebrowser/reliable-upload.cpp @@ -255,7 +255,7 @@ void ReliablePostFileTask::onPostFileTaskFinished(bool result) error_string_ = task_->errorString(); error_ = task_->error(); - if (http_error_code_ == 442) { + if (http_error_code_ == 442 || http_error_code_ == 443) { emit finished(false); return; }