projects
/
quix0rs-apt-p2p.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ebdcf9b
)
Update the config file for the change in default key expiry length.
author
Cameron Dale
<camrdale@gmail.com>
Sat, 26 Apr 2008 01:23:12 +0000
(18:23 -0700)
committer
Cameron Dale
<camrdale@gmail.com>
Sat, 26 Apr 2008 01:23:12 +0000
(18:23 -0700)
apt-p2p.conf
patch
|
blob
|
history
test.py
patch
|
blob
|
history
diff --git
a/apt-p2p.conf
b/apt-p2p.conf
index 2d40306e77a5d23d1ddcdb73761185d602879d52..7dc3f545a68fe6f59dc3589b2b45a02335e0b003 100644
(file)
--- 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.
# 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
# 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
BUCKET_STALENESS = 1h
# expire unrefreshed entries older than this
-KEY_EXPIRE =
1
h
+KEY_EXPIRE =
3
h
# Timeout KRPC requests to nodes after this time.
KRPC_TIMEOUT = 14s
# Timeout KRPC requests to nodes after this time.
KRPC_TIMEOUT = 14s
diff --git
a/test.py
b/test.py
index b94e01249d2356664fed8168a8e3c6e1ea1493d4..198670119867fdbcf13d31dda6a41b07e2c80cc0 100755
(executable)
--- 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.
# 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 =
# 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
BUCKET_STALENESS = 1h
# expire entries older than this
-KEY_EXPIRE =
1
h
+KEY_EXPIRE =
3
h
# Timeout KRPC requests to nodes after this time.
KRPC_TIMEOUT = 14s
# Timeout KRPC requests to nodes after this time.
KRPC_TIMEOUT = 14s