mirror of
https://github.com/lucaspalomodevelop/indico-plugins.git
synced 2026-03-15 00:14:38 +00:00
Citadel: Retry on 409 Conflict
This commit is contained in:
parent
260454a04b
commit
617879e5de
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user