0.1.0 boosted

This commit is contained in:
Waylon Walker 2024-04-06 11:26:46 -05:00
parent 126e90084e
commit f29c40d25e
No known key found for this signature in database
GPG key ID: 66E2BF2B4190EFE4
11 changed files with 181 additions and 22 deletions

View file

@ -23,7 +23,7 @@ async def infinite(request: Request, page: int = 1, n: int = 10):
persons = [PersonFactory.build() for _ in range(n)]
if request.state.prefers_partial:
await asyncio.sleep(0.5)
await asyncio.sleep(1)
return config.templates.TemplateResponse(
"infinite/persons_partial.html",
{