more constants
[quix0rs-apt-p2p.git] / const.py
index e6ef83200d9f7964ac6ff73d60ec65642d729d53..1d904f60f5f3491c394da5b067e864cd738b0bdb 100644 (file)
--- a/const.py
+++ b/const.py
@@ -22,3 +22,6 @@ KE_AGE = KEINITIAL_DELAY
 
 # never ping a node more often than this
 MIN_PING_INTERVAL = 60 * 15 # fifteen minutes
+
+# refresh buckets that haven't been touched in this long
+BUCKET_STALENESS = 60 # one hour