mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-14 20:23:57 +00:00
Merge pull request #10910 from freqtrade/dependabot/pip/develop/websockets-14.0
chore(deps): bump websockets from 13.1 to 14.0
This commit is contained in:
commit
e8cd6b3be3
|
@ -1,7 +1,7 @@
|
|||
from typing import Any
|
||||
|
||||
from fastapi import WebSocket as FastAPIWebSocket
|
||||
from websockets.client import WebSocketClientProtocol as WebSocket
|
||||
from websockets.asyncio.client import ClientConnection as WebSocket
|
||||
|
||||
from freqtrade.rpc.api_server.ws.types import WebSocketType
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
from typing import Any, TypeVar
|
||||
|
||||
from fastapi import WebSocket as FastAPIWebSocket
|
||||
from websockets.client import WebSocketClientProtocol as WebSocket
|
||||
from websockets.asyncio.client import ClientConnection as WebSocket
|
||||
|
||||
|
||||
WebSocketType = TypeVar("WebSocketType", FastAPIWebSocket, WebSocket)
|
||||
|
|
|
@ -213,8 +213,7 @@ class ExternalMessageConsumer:
|
|||
except (
|
||||
socket.gaierror,
|
||||
ConnectionRefusedError,
|
||||
websockets.exceptions.InvalidStatusCode,
|
||||
websockets.exceptions.InvalidMessage,
|
||||
websockets.exceptions.InvalidHandshake,
|
||||
) as e:
|
||||
logger.error(f"Connection Refused - {e} retrying in {self.sleep_time}s")
|
||||
await asyncio.sleep(self.sleep_time)
|
||||
|
|
|
@ -57,7 +57,7 @@ pytz==2024.2
|
|||
schedule==1.2.2
|
||||
|
||||
#WS Messages
|
||||
websockets==13.1
|
||||
websockets==14.0
|
||||
janus==1.1.0
|
||||
|
||||
ast-comments==1.2.2
|
||||
|
|
|
@ -253,8 +253,7 @@ async def create_client(
|
|||
except (
|
||||
socket.gaierror,
|
||||
ConnectionRefusedError,
|
||||
websockets.exceptions.InvalidStatusCode,
|
||||
websockets.exceptions.InvalidMessage,
|
||||
websockets.exceptions.InvalidHandshake,
|
||||
) as e:
|
||||
logger.error(f"Connection Refused - {e} retrying in {sleep_time}s")
|
||||
await asyncio.sleep(sleep_time)
|
||||
|
|
Loading…
Reference in New Issue
Block a user