Commit 5c0453de authored by Denis Bilenko's avatar Denis Bilenko

update StreamServer with regard to the new Pool implementation

parent 1389dc16
......@@ -72,7 +72,7 @@ class StreamServer(BaseServer):
def set_spawn(self, spawn):
BaseServer.set_spawn(self, spawn)
if self.pool is not None:
self.pool._available_event.rawlink(self._start_accepting)
self.pool._semaphore.rawlink(self._start_accepting)
def set_handle(self, handle):
BaseServer.set_handle(self, handle)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment