txgossip/recipies.py
def value_changed(self, peer, key, timestamp_value):
        """A peer has changed its value."""
        if key == '__heartbeat__' or key in self._ignore_keys:
            return
        if peer.name == self._gossiper.name:
            self.persist_key_value(key, timestamp_value)
        else:
            self.replicate_key_value(peer, key, timestamp_value)
A peer has changed its value.
A peer has changed its value.
A peer has changed its value .
def value_changed(self, peer, key, timestamp_value):
        if key == '__heartbeat__' or key in self._ignore_keys:
            return
        if peer.name == self._gossiper.name:
            self.persist_key_value(key, timestamp_value)
        else:
            self.replicate_key_value(peer, key, timestamp_value)
def value_changed ( self , peer , key , timestamp_value ) : if key == '__heartbeat__' or key in self . _ignore_keys : return if peer . name == self . _gossiper . name : self . persist_key_value ( key , timestamp_value ) else : self . replicate_key_value ( peer , key , timestamp_value )
A peer has changed its value.
A peer has changed its value .
"""A peer has changed its value."""
self
peer
key
timestamp_value