Citadel: Retry on 409 Conflict

This commit is contained in:
Adrian Moennich 2021-06-04 11:03:35 +02:00
parent 260454a04b
commit 617879e5de

View File

@ -228,7 +228,7 @@ class LiveSyncCitadelUploader(Uploader):
retry = Retry(
total=20,
backoff_factor=0.22,
status_forcelist=[500, 502, 503, 504],
status_forcelist=[409, 500, 502, 503, 504],
allowed_methods=frozenset(['POST', 'PUT', 'DELETE'])
)
retry.BACKOFF_MAX = 10