Skip to content

Commit

Permalink
FIxed ThreadedWebsocketServer
Browse files Browse the repository at this point in the history
  • Loading branch information
jtc42 committed Jul 15, 2020
1 parent 286cdb6 commit 70342ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/labthings/wsgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def start(self):
print(f"Running on http://{friendlyhost}:{self.port} (Press CTRL+C to quit)")

# Create WSGIServer
self.wsgi_server = ThreadedWsWSGIServer(self.host, self.port, app_to_run)
self.wsgi_server = ThreadedWebsocketServer(self.host, self.port, app_to_run)

# Serve
signal.signal(signal.SIGTERM, self.stop)
Expand Down

0 comments on commit 70342ff

Please sign in to comment.