MCPcopy Create free account
hub / github.com/microsoft/Webwright / _transient_backoff

Method _transient_backoff

src/webwright/models/base.py:286–287  ·  view source on GitHub ↗
(self, attempt: int, exc: BaseException)

Source from the content-addressed store, hash-verified

284 await asyncio.sleep(min(5 * (attempt + 1), 30))
285
286 async def _transient_backoff(self, attempt: int, exc: BaseException) -> None:
287 await asyncio.sleep(min(2 * (attempt + 1), 10))
288
289 # ---- shared infrastructure ----------------------------------------------------
290

Callers 1

_post_with_retriesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected