def sendMessage(self, msg):
        uriBinary, msgURI = recursiveBinarySearch(msg)

        WebSocketServerProtocol.sendMessage(self, json.dumps(msgURI))

        for binData in uriBinary:
            WebSocketServerProtocol.sendMessage(self,
                binData[0] + binData[1].getvalue(), binary=True)
Retry the function over and over until max retries is exceeded.
dataset/ETHPy150Open rapyuta/rce/rce-comm/rce/comm/server.py/RobotWebSocketProtocol.sendMessage--crossover with--dataset/ETHPy150Open ask/carrot/carrot/utils.py/retry_over_time