You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mitogen/docs
David Wilson 38c0ad1eea core: don't deregister Router handles until Broker exit.
Lots of "invalid handle: ..., 102" messages started appearing during
exit recently because ordering changed slightly, and local handles were
sent _DEAD even though the broker loop was still progressing through
shutdown.

The "shutdown" event is too early to close handles: it is the start of
the grace period where streams and downstream contexts can finish up any
work and deliver buffered data, including FORWARD_LOG messages that
haven't arrived yet.

So instead,

- move the _DEAD logic to the "exit" event,
- get rid of Context.on_shutdown() entirely, it's been unused for over
  a month,
- get rid of the "crash" event, since it always fires prior to "exit",
  and its only use was to send _DEAD to local handles, which now happens
  during exit anyway.
7 years ago
..
_static docs: more getting started guide 7 years ago
_templates docs: fix reading time tracking :( 7 years ago
images core: make _start_transmit / _stop_transmit async-only 7 years ago
.gitignore docs: fix intensely annoying _prefix, 2 years later. 7 years ago
Makefile docs: fix intensely annoying _prefix, 2 years later. 7 years ago
ansible.rst docs: tidy up big list of bullets. 7 years ago
api.rst Introduce handler policy functions; closes #138. 7 years ago
compared.rst docs: Maximum size of pencode values 7 years ago
conf.py docs: override insane list of fallback fonts 7 years ago
docs-requirements.txt tests: Add Tox config for Python 2.6 and 2.7 7 years ago
examples.rst docs: fix typo 7 years ago
getting_started.rst docs: More getting started. 7 years ago
howitworks.rst issue #155: parent: move master.Context into parent. 7 years ago
index.rst parent: allow Python to determine its install prefix from argv[0] 7 years ago
internals.rst core: make _start_transmit / _stop_transmit async-only 7 years ago
pickle-substitutes.ods docs: First round of Pickle-likes survey 7 years ago
services.rst ansible: enable forking when requested and for async jobs. 7 years ago
shame.rst docs: Fix function name. 7 years ago
signals.rst core: don't deregister Router handles until Broker exit. 7 years ago
toc.rst docs: initial Ansible extension docs. 7 years ago