We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ccff633 commit 4b3b55fCopy full SHA for 4b3b55f
simulate.py
@@ -148,6 +148,11 @@ async def start_named_server(
148
),
149
)
150
151
+ elif resp.status == 429:
152
+ # Sleep for upto roughly 2s and try again
153
+ # FIXME: Make more robust and use a retry app?
154
+ await asyncio.sleep(1 + random.random())
155
+ return await start_named_server(session, server, profile_options)
156
elif resp.status == 201:
157
# Means the server is immediately ready, and i don't want to deal with that yet
158
raise NotImplementedError()
0 commit comments