Log filesystem watcher lost sync only once per event (#57675)

On Linux, we create a filesystem watcher recursively for every subdir.
When we get "fs watcher lost sync" events, we used to log it for every
child dir, which could results in thousands messages. This becomes
problematic when we get into a state where we get those events
repeatedly (this larger issue is to be addressed separately).

Now we log one message per parent.

Partially addresses #57422, #57042, FR-18

Release Notes:

- N/A
6df9ae9f8fOleksiy Syvokon committed on 5/26/2026, 7:40:49 PM· committed by GitHubparent6e9f461
1 file changedLine totals unavailable