[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-dev] descriptor sync finished event after disabling UseMicrodescritors



Hi,

what is the best way to find out when descriptor fetching is completed 
after temporarily disabling microdescriptors on a running tor client daemon?
The temporary disabling of microdescriptors is done using this line in a python script using stem:

controller.set_conf('UseMicrodescriptors', '0')

Is there a better way than to try and re-try after 10 seconds in a loop via controller.get_server_descriptors() ?

I also noticed that fetching takes significantly longer when microdescriptors are disabled temporarily when compared to 
adding 
UseMicrodescriptors 0 
to the torrc file persistently and restarting the tor client.

Can I tell tor to "fetch now" directly after
controller.set_conf('UseMicrodescriptors', '0')
via an additional control command?

kind regards,
nusenu

-- 
https://nusenu.github.io
_______________________________________________
tor-dev mailing list
tor-dev@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev