Skip to content

Commit

Permalink
increase map sync timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
soundsonacid committed Jul 26, 2024
1 parent 93cc147 commit 93e30dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/driftpy/user_map/user_map.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ async def sync(self) -> None:
headers={"content-encoding": "gzip"},
)

resp = await asyncio.wait_for(post, timeout=30)
resp = await asyncio.wait_for(post, timeout=120)

parsed_resp = jsonrpcclient.parse(resp.json())

Expand Down
2 changes: 1 addition & 1 deletion src/driftpy/user_map/userstats_map.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ async def sync(self):
headers={"content-encoding": "gzip"},
)

resp = await asyncio.wait_for(post, timeout=10)
resp = await asyncio.wait_for(post, timeout=120)

parsed_resp = jsonrpcclient.parse(resp.json())

Expand Down

0 comments on commit 93e30dd

Please sign in to comment.