Add cooldown when file watch limit is reached (#57720)

Stop trying to add new watches for 5 seconds after receiving the "OS
file watch limit reached" error.

This was flooding the logs and many pointless syscalls.

Related to #57422, #57042, FR-18

Release Notes:

- Improved file watcher behavior when the OS file watch limit is
reached.
32d0737318Oleksiy Syvokon committed on 5/27/2026, 3:35:46 PM· committed by GitHubparent80a4042
1 file changedLine totals unavailable