mirror of
https://github.com/Control-D-Inc/ctrld.git
synced 2026-02-03 22:18:39 +00:00
On BSD platform, using "daemon -r" may fool the status check that ctrld is still running while it was terminated unexpectedly. This may cause the check in newSocketControlClient hangs forever. Using a sane timeout value of 30 seconds, which should be enough for the ctrld service started in normal condition.