mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +00:00
As noted in the docstring for this function, the timeout is best-effort only -- if the thread is blocked in a syscall, it will not service the exception until it returns. It can also choose to catch and ignore the TimeoutExpired; in either case it will still be running even after the `timeout()` function returns. Raising a vare TimeoutExpired it still somewhat accurate, but obscures that the backend thread may still be running along merrily. Notice such cases, and log a warning about them.
3.4 KiB
3.4 KiB