From: Christian Kamm Date: Fri, 17 Feb 2017 15:21:54 +0000 (+0100) Subject: Revert "Don't blacklist 507 Insufficent Storage #5346 (#5424)" X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~814 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ee11b5d9be5647a12f4a9847d7d64145a982802d;p=nextcloud-desktop.git Revert "Don't blacklist 507 Insufficent Storage #5346 (#5424)" This reverts commit e1f5a49c21826590811710f73e37b7b72e256960. Retrying uploads with insufficent storage errors frequently leads to high server traffic. See #5537 for links and a sketch of a correct solution. --- diff --git a/src/libsync/syncjournalfilerecord.cpp b/src/libsync/syncjournalfilerecord.cpp index cbab1b479..230a22f26 100644 --- a/src/libsync/syncjournalfilerecord.cpp +++ b/src/libsync/syncjournalfilerecord.cpp @@ -131,7 +131,6 @@ SyncJournalErrorBlacklistRecord SyncJournalErrorBlacklistRecord::update( bool mayBlacklist = item._errorMayBeBlacklisted // explicitly flagged for blacklisting || (item._httpErrorCode != 0 // or non-local error - && item._httpErrorCode != 507 // Don't blacklist "Insufficient Storage" #ifdef OWNCLOUD_5XX_NO_BLACKLIST && item._httpErrorCode / 100 != 5 // In this configuration, never blacklist error 5xx #endif