diff options
| author | Paul Tarjan <github@paulisageek.com> | 2026-04-15 13:27:35 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-04-15 08:44:34 -0700 |
| commit | 1cbfa62766d04eee86d8cf0f0efe1c344e73591a (patch) | |
| tree | 1d303a3c2d75d2317160ab9c7f34b7c3138d7944 /t/t4013/diff.diff_initial..side | |
| parent | 9266aaff0aba923eb6ef08a24d413ed7052818d7 (diff) | |
fsmonitor: add timeout to daemon stop command
The "fsmonitor--daemon stop" command polls in a loop waiting for the
daemon to exit after sending a "quit" command over IPC. If the daemon
fails to shut down (e.g. it is stuck or wedged), this loop spins
forever.
Add a 30-second timeout so the stop command returns an error instead
of blocking indefinitely.
Signed-off-by: Paul Tarjan <github@paulisageek.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.diff_initial..side')
0 files changed, 0 insertions, 0 deletions
