2 ms·
> dependencies on _write time to the registry_, adding arbitrary retry loops to overcome time resolution For what it's worth, around this time Microsoft's own
by hcs 3y ago
> dependencies on _write time to the registry_, adding arbitrary retry loops to overcome time resolution
For what it's worth, around this time Microsoft's own API (which will only set Edge as default) messed this up occasionally if you ran it on the edge of a minute. When I implemented the equivalent feature for Firefox I checked the time, only one retry instead of Chrome's 5 and it's still not perfect, though my approach doesn't write the potentially out of date values first. That was already sufficiently stable that I couldn't make it fail.
- raggi 3y agoThe design seems pretty wild, I have much sympathy for you implementers