Move the key expiring to the checkpoint function.
[quix0rs-apt-p2p.git] / apt_dht / apt_dht_conf.py
index 16f10c1c3914731a0ec2a6fece3e1c98e331d823..931d46cdd5a1a7fb48308c2dbac0ea22dc00e9c0 100644 (file)
@@ -86,15 +86,8 @@ DHT_DEFAULTS = {
     # refresh buckets that haven't been touched in this long
     'BUCKET_STALENESS': '1h', # one hour
     
-    ###  KEY EXPIRER
-    # time before expirer starts running
-    'KEINITIAL_DELAY': '15s', # 15 seconds - to clean out old stuff in persistent db
-    
-    # time between expirer runs
-    'KE_DELAY': '20m', # 20 minutes
-    
     # expire entries older than this
-    'KE_AGE': '1h', # 60 minutes
+    'KEY_EXPIRE': '1h', # 60 minutes
     
     # whether to spew info about the requests/responses in the protocol
     'SPEW': 'yes',