Re: [Tails-dev] Persistent torrc [Was: Tails Server: updated…

Delete this message

Reply to this message
Author: anonym
Date:  
To: The Tails public development discussion list
Subject: Re: [Tails-dev] Persistent torrc [Was: Tails Server: updated plan and GSoC!]
segfault:
> I just noticed that actually I do not parse the config files every time
> I need an option value. I only read the value the first time I need it
> and then store it in a variable. I do write to the config files
> everytime the value is set though.
> I can test later how much the performance impact of parsing the config
> files every time.


I'd be surprised if it was noticeable. For the record, I'd be willing to
pay even a 1 second delay to get the nice property of never having state
out of sync and thus avoid a whole class of subtle bugs. :)

Cheers!