mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 12:23:32 +01:00
don't call rend_services_init right before we fetch the
dir, because we call it right after now. svn:r1582
This commit is contained in:
parent
c5bef32d95
commit
c80b42e17c
@ -346,8 +346,6 @@ static void run_scheduled_events(time_t now) {
|
|||||||
* our descriptor (if any). */
|
* our descriptor (if any). */
|
||||||
if(time_to_fetch_directory < now) {
|
if(time_to_fetch_directory < now) {
|
||||||
/* it's time to fetch a new directory and/or post our descriptor */
|
/* it's time to fetch a new directory and/or post our descriptor */
|
||||||
if(has_fetched_directory)
|
|
||||||
rend_services_init(); /* make new intro points and re-upload if necessary */
|
|
||||||
if(options.ORPort) {
|
if(options.ORPort) {
|
||||||
router_rebuild_descriptor();
|
router_rebuild_descriptor();
|
||||||
router_upload_dir_desc_to_dirservers();
|
router_upload_dir_desc_to_dirservers();
|
||||||
|
Loading…
Reference in New Issue
Block a user