mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
don't build and upload a new desc twice in a row
svn:r1691
This commit is contained in:
parent
e355ed0e15
commit
7fbc35c136
@ -75,11 +75,6 @@ void rotate_onion_key(void)
|
||||
*/
|
||||
lastonionkey = onionkey;
|
||||
set_onion_key(prkey);
|
||||
if (router_rebuild_descriptor() <0) {
|
||||
goto error;
|
||||
}
|
||||
router_upload_dir_desc_to_dirservers();
|
||||
/* Mark all CPU workers to close. */
|
||||
return;
|
||||
error:
|
||||
log_fn(LOG_WARN, "Couldn't rotate onion key.");
|
||||
|
Loading…
Reference in New Issue
Block a user