Skip to content

Commit

Permalink
[BUGFIX] simple_websocket_server needs to poll
Browse files Browse the repository at this point in the history
sigh...  so much for no polling.
guess i gotta write my own library now.
  • Loading branch information
subnut committed Mar 11, 2023
1 parent 178aadf commit b4bc7e2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions binary.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
from simple_websocket_server import WebSocket
from simple_websocket_server import WebSocketServer

BUILD_VERSION: str = "v0.2.6"
BUILD_VERSION: str = "v0.2.7"

WINDOWS: bool = os.name == "nt"
LOCALHOST: str = "127.0.0.1" if WINDOWS else "localhost"
Expand Down Expand Up @@ -427,7 +427,7 @@ class GhostWebSocketServer(WebSocketServer):
# it's port number. Yes, I have seen the source code. It doesn't.
def __init__(self, host, port, websocketclass, **kwargs):
self.port = port
super().__init__(host, port, websocketclass, select_interval=0, **kwargs)
super().__init__(host, port, websocketclass, **kwargs)


class Server:
Expand Down
2 changes: 1 addition & 1 deletion binary_version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.2.6
v0.2.7

0 comments on commit b4bc7e2

Please sign in to comment.