api/chrono: does not return HTTP 500 with error "too busy" (#84817)
gitea/ants-hub/pipeline/head This commit looks good
Details
gitea/ants-hub/pipeline/head This commit looks good
Details
This commit is contained in:
parent
62ea9bc79a
commit
8fafb09a47
|
@ -378,7 +378,6 @@ class RendezVousDisponibleView(View):
|
|||
'err': 1,
|
||||
'error': 'busy',
|
||||
},
|
||||
status=500,
|
||||
)
|
||||
time.sleep(settings.ANTS_HUB_BUSY_BACKOFF * 2**i)
|
||||
except (ValueError, ValidationError) as e:
|
||||
|
|
|
@ -1255,7 +1255,6 @@ def test_rendez_vous_disponibles_database_is_busy(django_app, db, monkeypatch, s
|
|||
}
|
||||
]
|
||||
},
|
||||
status=500,
|
||||
)
|
||||
|
||||
assert call_count == 4
|
||||
|
|
Loading…
Reference in New Issue