Skip to content

Commit

Permalink
Rescale REFRESH_TIMEOUT in seconds.
Browse files Browse the repository at this point in the history
  • Loading branch information
Renelvon committed May 17, 2015
1 parent 134cc38 commit 9c833b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dht/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

# If a KBucket has not been used for this amount of time, refresh it.
# [seconds]
REFRESH_TIMEOUT = 60 * 60 * 1000 # 1 hour
REFRESH_TIMEOUT = 3600 # 1 hour

# The interval in which the node should check whether any buckets
# need refreshing or whether any data needs to be republished
Expand Down

0 comments on commit 9c833b7

Please sign in to comment.