mirror of
https://github.com/zulip/zulip.git
synced 2025-11-12 18:06:44 +00:00
Comment change: link to a StackOverflow answer directly
(imported from commit a106b02e734956cab88445d159be18a092ae6d46)
This commit is contained in:
@@ -65,7 +65,7 @@ def timeout(timeout, func, *args, **kwargs):
|
|||||||
|
|
||||||
if thread.isAlive():
|
if thread.isAlive():
|
||||||
# Gamely try to kill the thread, following the dodgy approach from
|
# Gamely try to kill the thread, following the dodgy approach from
|
||||||
# http://stackoverflow.com/questions/323972/is-there-any-way-to-kill-a-thread-in-python
|
# http://stackoverflow.com/a/325528/90777
|
||||||
#
|
#
|
||||||
# We need to retry, because an async exception received while the
|
# We need to retry, because an async exception received while the
|
||||||
# thread is in a system call is simply ignored.
|
# thread is in a system call is simply ignored.
|
||||||
|
|||||||
Reference in New Issue
Block a user