(self)
Wait for next tick from provider.
Wait for next tick from provider.
Wait for next tick from provider .
def cmd_wait_provider(self):
        """Wait for next tick from provider."""

        self.load_local_info()

        if self.queue_info.local_node.type == 'root':
            self.log.info("Current node is root, no need to wait")
            return

        dst_db = self.get_database(self.initial_db_name)
        node = self.queue_info.local_node.provider_node
        self.log.info("Provider is %s", node)
        self.wait_for_node(dst_db, node)
def cmd_wait_provider ( self ) : self . load_local_info ( ) if self . queue_info . local_node . type == 'root' : self . log . info ( "Current node is root, no need to wait" ) return dst_db = self . get_database ( self . initial_db_name ) node = self . queue_info . local_node . provider_node self . log . info ( "Provider is %s" , node ) self . wait_for_node ( dst_db , node )