aboutsummaryrefslogtreecommitdiff
path: root/src/or/rendservice.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2006-03-12 23:31:16 +0000
committerNick Mathewson <nickm@torproject.org>2006-03-12 23:31:16 +0000
commitbd8ffccae7e1bb4030f9ca5e6dd9c8918256de75 (patch)
tree26820b373ebcbe66894a347d59b0136eb9265bbf /src/or/rendservice.c
parent474c60b7433da2302c35832571f41867714d8f65 (diff)
downloadtor-bd8ffccae7e1bb4030f9ca5e6dd9c8918256de75.tar
tor-bd8ffccae7e1bb4030f9ca5e6dd9c8918256de75.tar.gz
More cleanups noticed by weasel; also, remove macros that nobody uses.
svn:r6143
Diffstat (limited to 'src/or/rendservice.c')
-rw-r--r--src/or/rendservice.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/or/rendservice.c b/src/or/rendservice.c
index 9a63e8cb2..5292e5e9c 100644
--- a/src/or/rendservice.c
+++ b/src/or/rendservice.c
@@ -27,7 +27,7 @@ typedef struct rend_service_port_config_t {
#define NUM_INTRO_POINTS 3
/** If we can't build our intro circuits, don't retry for this long. */
-#define INTRO_CIRC_RETRY_PERIOD 60*5
+#define INTRO_CIRC_RETRY_PERIOD (60*5)
/** Don't try to build more than this many circuits before giving up
* for a while.*/
#define MAX_INTRO_CIRCS_PER_PERIOD 10
@@ -927,10 +927,6 @@ upload_service_descriptor(rend_service_t *service, int version)
service->desc_is_dirty = 0;
}
-/* XXXX Make this longer once directories remember service descriptors across
- * restarts.*/
-#define MAX_SERVICE_PUBLICATION_INTERVAL (15*60)
-
/** For every service, check how many intro points it currently has, and:
* - Pick new intro points as necessary.
* - Launch circuits to any new intro points.