Explorar o código

dirservers try to reconnect periodically too, in case connections have failed

svn:r1922
Roger Dingledine %!s(int64=22) %!d(string=hai) anos
pai
achega
8064807896
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      src/or/main.c

+ 2 - 0
src/or/main.c

@@ -444,6 +444,8 @@ static void run_scheduled_events(time_t now) {
     } else {
       /* We're a directory; dump any old descriptors. */
       dirserv_remove_old_servers();
+      /* dirservers try to reconnect too, in case connections have failed */
+      router_retry_connections();
     }
     /* Force an upload of our descriptors every DirFetchPostPeriod seconds. */
     rend_services_upload(1);