phonon/nodelist.py
def refresh_session(self, node_id=None):
        """
        Adds or refreshes a particular node in the nodelist, attributing the
        current time with the node_id.

        :param string node_id: optional, the connection id of the node whose
        session should be refreshed
        """
        if not node_id:
            node_id = self.conn.id

        self.conn.client.hset(self.nodelist_key, node_id, int(time.time() * 1000.))
def refresh_session(self, node_id=None):
        if not node_id:
            node_id = self.conn.id

        self.conn.client.hset(self.nodelist_key, node_id, int(time.time() * 1000.))
def refresh_session ( self , node_id = None ) : if not node_id : node_id = self . conn . id self . conn . client . hset ( self . nodelist_key , node_id , int ( time . time ( ) * 1000. ) )
Adds or refreshes a particular node in the nodelist, attributing the
        current time with the node_id.

        :param string node_id: optional, the connection id of the node whose
        session should be refreshed
Adds or refreshes a particular node in the nodelist attributing the current time with the node_id .