Try to rejoin DHT periodically after failures using exponential backoff.
authorCameron Dale <camrdale@gmail.com>
Mon, 14 Apr 2008 19:23:33 +0000 (12:23 -0700)
committerCameron Dale <camrdale@gmail.com>
Mon, 14 Apr 2008 20:15:52 +0000 (13:15 -0700)
commitd63ad7d7b1c9e5567bd28450197ef810dc5c5475
tree0933346646d222a3c9e7a4832de0969c322e8a4b
parent1e0537c366d9c95b4cda1b105fbcca52a9dbbb3a
Try to rejoin DHT periodically after failures using exponential backoff.

Also make the get and store functions call errbacks if not joined.
Also modify the callers of the get and store functions to respond well
to errbacks.
Also add a unittest for the rejoining functionality.
TODO
apt_p2p/PeerManager.py
apt_p2p/apt_p2p.py
apt_p2p_Khashmir/DHT.py