From 94e031b2636053bc0a7896b253e35e70d8d981cd Mon Sep 17 00:00:00 2001 From: Cameron Dale Date: Fri, 25 Apr 2008 18:23:12 -0700 Subject: [PATCH] Update the config file for the change in default key expiry length. --- apt-p2p.conf | 4 ++-- test.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apt-p2p.conf b/apt-p2p.conf index 2d40306..7dc3f54 100644 --- a/apt-p2p.conf +++ b/apt-p2p.conf @@ -49,7 +49,7 @@ UNLOAD_PACKAGES_CACHE = 5m # Refresh the DHT keys after this much time has passed. # This should be a time slightly less than the DHT's KEY_EXPIRE value. -KEY_REFRESH = 57m +KEY_REFRESH = 2.5h # The user name to try and run as (leave blank to run as current user) USERNAME = apt-p2p @@ -106,7 +106,7 @@ MIN_PING_INTERVAL = 15m BUCKET_STALENESS = 1h # expire unrefreshed entries older than this -KEY_EXPIRE = 1h +KEY_EXPIRE = 3h # Timeout KRPC requests to nodes after this time. KRPC_TIMEOUT = 14s diff --git a/test.py b/test.py index b94e012..1986701 100755 --- a/test.py +++ b/test.py @@ -466,7 +466,7 @@ UNLOAD_PACKAGES_CACHE = 5m # Refresh the DHT keys after this much time has passed. # This should be a time slightly less than the DHT's KEY_EXPIRE value. -KEY_REFRESH = 57m +KEY_REFRESH = 2.5h # The user name to try and run as (leave blank to run as current user) USERNAME = @@ -513,7 +513,7 @@ MIN_PING_INTERVAL = 15m BUCKET_STALENESS = 1h # expire entries older than this -KEY_EXPIRE = 1h +KEY_EXPIRE = 3h # Timeout KRPC requests to nodes after this time. KRPC_TIMEOUT = 14s -- 2.30.2