summaryrefslogtreecommitdiff
path: root/src/or/rendservice.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-03-01 00:41:28 +0000
committerNick Mathewson <nickm@torproject.org>2007-03-01 00:41:28 +0000
commit11d89141ac0ae0ff371e8da79abe218474e7365c (patch)
treed0b96ac98904459f404a1eaecd399416177316c9 /src/or/rendservice.c
parentdec9e4f0d8a3b0c482c4dde70f95815433436d73 (diff)
downloadtor-11d89141ac0ae0ff371e8da79abe218474e7365c.tar.gz
tor-11d89141ac0ae0ff371e8da79abe218474e7365c.zip
r12012@catbus: nickm | 2007-02-28 18:25:18 -0500
Twiddle constants wrt uploading hidden service descriptors. svn:r9694
Diffstat (limited to 'src/or/rendservice.c')
-rw-r--r--src/or/rendservice.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/rendservice.c b/src/or/rendservice.c
index c9aa171b61..3b509a0e4b 100644
--- a/src/or/rendservice.c
+++ b/src/or/rendservice.c
@@ -1091,9 +1091,9 @@ rend_consider_services_upload(time_t now)
}
if (service->next_upload_time < now ||
(service->desc_is_dirty &&
- service->desc_is_dirty < now-5)) {
+ service->desc_is_dirty < now-30)) {
/* if it's time, or if the directory servers have a wrong service
- * descriptor and ours has been stable for 5 seconds, upload a
+ * descriptor and ours has been stable for 30 seconds, upload a
* new one of each format. */
upload_service_descriptor(service, 0);
service->next_upload_time = now + rendpostperiod;