From 2aef6a217469b95fbd80e3892bab0e1968ca4f96 Mon Sep 17 00:00:00 2001 From: Markus Goetz Date: Thu, 28 Aug 2014 13:44:14 +0200 Subject: [PATCH] Poll URL: Don't delete from DB in case of 503 --- src/mirall/propagator_qnam.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mirall/propagator_qnam.cpp b/src/mirall/propagator_qnam.cpp index 047c3daca..d110c62c5 100644 --- a/src/mirall/propagator_qnam.cpp +++ b/src/mirall/propagator_qnam.cpp @@ -104,7 +104,8 @@ bool PollJob::finished() _item._status = classifyError(err, _item._httpErrorCode); _item._errorString = reply()->errorString(); if (_item._status == SyncFileItem::FatalError || _item._httpErrorCode >= 400) { - if (_item._status != SyncFileItem::FatalError) { + if (_item._status != SyncFileItem::FatalError + && _item._httpErrorCode != 503) { SyncJournalDb::PollInfo info; info._file = _item._file; // no info._url removes it from the database