mirror of https://github.com/zulip/zulip.git
9bfbb29763
Otherwise, if consume_func raised an exception for any reason *other* than the alarm being fired, the still-pending alarm would have fired later at some arbitrary point in the calling code. We need two try…finally blocks in case the signal arrives just before signal.alarm(0). Signed-off-by: Anders Kaseorg <anders@zulip.com> |
||
---|---|---|
.. | ||
__init__.py | ||
queue_processors.py |