diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-11-17 01:48:56 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-11-17 01:48:56 +0000 |
commit | f1b79ebf1ff0df76c07e21a58dddc4f1840015d2 (patch) | |
tree | 5edc1ab87d5507da4a290a0bcf0af662c0750da0 /lib/thandy/repository.py | |
parent | 92b784be5aa3fbb05d74d45b11bc5c027f1054a3 (diff) |
Add a --force-check option to make the client download a new timestamp file whether it is too old or not. Crank the maximum timestamp age down to 3 hours.
git-svn-id: file:///home/or/svnrepo/updater/trunk@17306 55e972cd-5a19-0410-ae62-a4d7a52db4cd
Diffstat (limited to 'lib/thandy/repository.py')
-rw-r--r-- | lib/thandy/repository.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/thandy/repository.py b/lib/thandy/repository.py index 6378586..ad0fe4d 100644 --- a/lib/thandy/repository.py +++ b/lib/thandy/repository.py @@ -13,7 +13,7 @@ import os import threading import time -MAX_TIMESTAMP_AGE = 24*60*60 +MAX_TIMESTAMP_AGE = 3*60*60 class RepositoryFile: """Represents information about a file stored in our local repository |