Message ID | 20241008083121.GA676391@coredump.intra.peff.net (mailing list archive) |
---|---|
Headers | show |
Series | alternate approach to fixing fsmonitor hangs | expand |
On Tue, Oct 8, 2024 at 5:31 PM Jeff King <peff@peff.net> wrote: > I've added in the necessary Windows bits, along with smoothing a few > rough edges. Especially with the extra Windows changes (which I mostly > had to guess-and-check by pushing to CI), I'm beginning to wonder if my > solution isn't getting a bit too complicated, and maybe yours was the > right way after all. > > But I've cleaned it up for presentation here, so at least we can look at > the final form of both and see which we prefer. Thank you for the new patch. It prevents to start accepting requests until starting fs event listening and simplifies the code flow. It also has sufficient comments, so later everyone can easily understand how it works. I also tested it both on mac and windows and it works correctly. I think this one should be adopted :) Koji Nakamaru
On Wed, Oct 09, 2024 at 01:03:14AM +0900, Koji Nakamaru wrote: > > But I've cleaned it up for presentation here, so at least we can look at > > the final form of both and see which we prefer. > > Thank you for the new patch. It prevents to start accepting requests > until starting fs event listening and simplifies the code flow. It also > has sufficient comments, so later everyone can easily understand how it > works. I also tested it both on mac and windows and it works correctly. > > I think this one should be adopted :) Thanks for reviewing, and for all your work identifying the problem in the first place! Looks like Junio has picked up my patch and it's already in 'next', so hopefully these 6-hour CI timeouts will soon be a thing of the past. :) -Peff
Jeff King <peff@peff.net> writes: > On Wed, Oct 09, 2024 at 01:03:14AM +0900, Koji Nakamaru wrote: > >> > But I've cleaned it up for presentation here, so at least we can look at >> > the final form of both and see which we prefer. >> >> Thank you for the new patch. It prevents to start accepting requests >> until starting fs event listening and simplifies the code flow. It also >> has sufficient comments, so later everyone can easily understand how it >> works. I also tested it both on mac and windows and it works correctly. >> >> I think this one should be adopted :) > > Thanks for reviewing, and for all your work identifying the problem in > the first place! Looks like Junio has picked up my patch and it's > already in 'next', so hopefully these 6-hour CI timeouts will soon be a > thing of the past. :) Yup. Thanks, both of you.