Loading poolpay/wire/Server.py +2 −2 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ import json from collections.abc import Callable from dataclasses import dataclass, field from pathlib import Path from socketserver import BaseServer, StreamRequestHandler, ThreadingUnixStreamServer from socketserver import BaseServer, StreamRequestHandler, UnixStreamServer from threading import Thread from poolpay.wire.Packet import Packet Loading Loading @@ -37,7 +37,7 @@ class Server: # terminated run of the application. We could of course also just have crashed a still running run of # the application (if we started the server on the same socket twice), but this is very unlikely. self.socket_path.unlink(missing_ok=True) self._server = ThreadingUnixStreamServer( self._server = UnixStreamServer( str(self.socket_path.resolve()), Server.RequestHandler, bind_and_activate=False, Loading Loading
poolpay/wire/Server.py +2 −2 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ import json from collections.abc import Callable from dataclasses import dataclass, field from pathlib import Path from socketserver import BaseServer, StreamRequestHandler, ThreadingUnixStreamServer from socketserver import BaseServer, StreamRequestHandler, UnixStreamServer from threading import Thread from poolpay.wire.Packet import Packet Loading Loading @@ -37,7 +37,7 @@ class Server: # terminated run of the application. We could of course also just have crashed a still running run of # the application (if we started the server on the same socket twice), but this is very unlikely. self.socket_path.unlink(missing_ok=True) self._server = ThreadingUnixStreamServer( self._server = UnixStreamServer( str(self.socket_path.resolve()), Server.RequestHandler, bind_and_activate=False, Loading