1
교체 :이 예전의 코드가 더 이상 존재하지 <strong>gevent.spawn_link_exception</strong>를 호출합니다 gevent.spawn_link_exception
def start(self, checkpoint=None):
for gl in self._greenlets:
gl.kill()
self.load_config()
self._greenlets = [
gevent.spawn_link_exception(self.periodic_checkpoint, 5) ]
for master_uri in self._config:
self._greenlets.append(
gevent.spawn_link_exception(
self.replicate, master_uri, checkpoint))
그것이 gevent의 최신 버전과 함께 작동하도록 저를이 코드를 업데이트하는 데 도움이 바랍니다. 감사.