Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update to aiohttp 3.9.2 #17726

Merged
merged 10 commits into from
Mar 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 1 addition & 9 deletions chia/server/ws_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -616,15 +616,7 @@ async def _send_message(self, message: Message) -> None:
self.bytes_written += size

async def _read_one_message(self) -> Optional[Message]:
try:
message: WSMessage = await self.ws.receive(30)
except asyncio.TimeoutError:
# self.ws._closed if we didn't receive a ping / pong
if self.ws.closed:
asyncio.create_task(self.close())
await asyncio.sleep(3)
return None
return None
message: WSMessage = await self.ws.receive()

if self.connection_type is not None:
connection_type_str = NodeType(self.connection_type).name.lower()
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"clvm_tools==0.4.9", # Currying, Program.to, other conveniences
"chia_rs==0.5.2",
"clvm-tools-rs==0.1.40", # Rust implementation of clvm_tools' compiler
"aiohttp==3.9.1", # HTTP server for full node rpc
"aiohttp==3.9.2", # HTTP server for full node rpc
"aiosqlite==0.20.0", # asyncio wrapper for sqlite, to store blocks
"bitstring==4.1.4", # Binary data management library
"colorama==0.4.6", # Colorizes terminal output
Expand Down
Loading