home = os.path.expanduser('~')
if not os.path.isdir(home):
home = os.path.abspath(os.path.dirname(sys.argv[0]))
+DEFAULT_CONFIG_FILES=['/etc/apt-dht/apt-dht.conf',
+ home + '/.apt-dht/apt-dht.conf']
DEFAULTS = {
'HASH_LENGTH': '160',
# checkpoint every this many seconds
- 'CHECKPOINT_INTERVAL': '15m', # fifteen minutes
+ 'CHECKPOINT_INTERVAL': '5m', # five minutes
### SEARCHING/STORING
# concurrent xmlrpc calls per find node/value request!