def receive()

in apisix/runner/server/server.py [0:0]


    def receive(self):
        while True:
            conn, address = self.sock.accept()
            conn.settimeout(60)

            r = RPCRequest(conn, self.logger)
            thread = NewThread(target=_threaded, args=(r,))
            thread.setDaemon(True)
            thread.start()