From bd8ffccae7e1bb4030f9ca5e6dd9c8918256de75 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Sun, 12 Mar 2006 23:31:16 +0000 Subject: More cleanups noticed by weasel; also, remove macros that nobody uses. svn:r6143 --- src/or/rendservice.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/or/rendservice.c') 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. -- cgit v1.2.3