Zulip 服务器和 Web 应用程序。开源团队聊天可帮助团队保持高效和专注。
Go to file
Jacob Hurwitz e475c863ba zmirror: Allow duplicate zmirror processes to die gracefully.
Fixes #602.

I replaced the SIGKILL with a SIGINT, and then catch SIGINT with a
handler.  This handler calls cancelSubs if necessary, and can later be
edited to perform other clean-up operations, too. I thought about, in
this same commit, changing the SIGTERM in
maybe_restart_mirroring_script to a SIGINT, but after tracing out the
code paths, I realized that isn't necessary. (The SIGTERM is
necessarily performed on a process that has not subscribed to any
zephyr classes, so cancelSubs is unnecessary. If we do think that we
may want to add additional clean-up operations in the future, though,
then it might be worth investigating changing this SIGTERM.)

(imported from commit 692b295be6cb40b0e4ec2ca0bc58c58056ed9bd9)
2013-02-05 14:27:55 -05:00
api Only include send_message-related examples in API release. 2013-02-05 14:09:29 -05:00
bots zmirror: Allow duplicate zmirror processes to die gracefully. 2013-02-05 14:27:55 -05:00
certs Add wildcard certificate for *.e.humbughq.com. 2013-01-17 18:56:39 -05:00
confirmation confirmation: Make send_confirmation accept custom templates and context. 2013-01-14 10:25:26 -05:00
humbug Initial API documentation page. 2013-02-04 17:58:12 -05:00
servers Add notes to puppet config about manually deployed symlinks. 2013-02-01 16:04:11 -05:00
templates subscriptions: add HTML and templates for new stream creation modal. 2013-02-05 10:01:44 -05:00
tools Don't build non-send_message bindings. 2013-02-05 14:09:29 -05:00
zephyr Fix comment syntax error in CSS 2013-02-05 14:05:10 -05:00
.gitignore [manual] Minify JavaScript and CSS in production 2013-01-31 15:41:01 -05:00
manage.py chmod +x manage.py 2012-10-25 15:22:18 -04:00