How to turn off hot-reloading of 2.1.9 #2852
-
Dear @jedisct1, Previously, the announcement of the new version of DNSCrypt caused joy and interest in finding out how the lives of privacy-concerned people would change for the better. But now it's just scary to look at the news, because there are more and more unexpected features that hardly fit into the existing workflow. Specifically, v2.1.9 introduced a hot-reloading of config files. As a result, memory consumption increased from 26 MB top to 36 MB and growing. CPU has become more noticeable: it wakes up much more often from a low-power mode, which is accompanied by an unpleasant sound. And I'm worried that some app may change those config files in the background, and it'll take me a while to realize there's a problem. I tried to find a flag or an option in the TOML settings file to turn this feature off, but no luck there. What can be done? Roll back to 2.1.8? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
Yes, roll back to 2.1.8. |
Beta Was this translation helpful? Give feedback.
-
@sergeevabc v2.1.9 has barely been out for an hour, cut the guy some slack and try to appreciate the massive amount of work that has gone into this. There was no need for your emotive tone - if you have a query, simply report it and leave out the sob story as the world doesn't revolve around you. |
Beta Was this translation helpful? Give feedback.
-
If you can, try compiling and testing the current code in Git. It supports a different way to watch for file changes, and there's an option to enable/disable hot reloading. |
Beta Was this translation helpful? Give feedback.
It seems that the problems reported earlier have been fixed.
In particular, hot reloading has been rewritten and disabled by default.
Bonus: dnscrypt_v2.1.12_win7x64.zip