Skip to content

Commit

Permalink
increase On Air connect timeout to 5s
Browse files Browse the repository at this point in the history
  • Loading branch information
falkoschindler committed Jan 14, 2025
1 parent 36bc712 commit 87cba75
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nicegui/air.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ async def connect(self) -> None:
f'{RELAY_HOST}?device_token={self.token}',
socketio_path='/on_air/socket.io',
transports=['websocket', 'polling'], # favor websocket over polling
wait_timeout=5,
)
assert self.relay.connected
return
Expand Down

0 comments on commit 87cba75

Please sign in to comment.