Mirror of mitogen
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.
 
 
 
Go to file
David Wilson 54ff1c90fa issue #155: add DEL_ROUTE, propagate ADD_ROUTE upwards
* IDs are allocated by the parent responsible for contructing a new
  child, using ALLOCATE_ID to the master as necessary to allocate new ID
  ranges.

* ADD_ROUTE is sent up the tree rather than down. This permits
  construction of the new context to complete concurrent to parent
  contexts learning about its existence. Since all streams are strictly
  ordered, it's not possible for any parent to observe messages from the
  new context prior to arrival of an ADD_ROUTE from the parent notifying
  of its existence.

  If the new context, for example, implements an Ansible async task, its
  parent can start executing that without waiting for any synchronous
  confirmation from any parent or the master.

* Since routes propagate up, it's no longer possible for a plain
  non-parent child to ever receive ADD_ROUTE, so that code can be moved
  out of core.py and into parent.py (-0.2kb compressed).

* Add a .routes attribute to parent.Stream, and respond to disconnection
  signal on the stream by propagating DEL_ROUTE for any ADD_ROUTE ever
  received from that stream.

* Centralize route management in a new parent.RouteMonitor class
7 years ago
ansible_mitogen issue #156: always enable microsecond logging 7 years ago
docs issue #155: add DEL_ROUTE, propagate ADD_ROUTE upwards 7 years ago
examples issue #152: reproduction for second problem 7 years ago
mitogen issue #155: add DEL_ROUTE, propagate ADD_ROUTE upwards 7 years ago
tests tests: get import_test limping back to health. 7 years ago
.gitignore Some gitignore extras 7 years ago
.lgtm.yml compat: ignore LGTM checks on third party 7 years ago
.travis.yml Remove overall build timeout from .travis.yml. 7 years ago
LICENSE Add license text everywhere. 7 years ago
README.md README: move testing bits into tests directory. 7 years ago
dev_requirements.txt Add Google Cloud client to dev requirements 7 years ago
preamble_size.py docs: fix preamble_size.py after whitelist changes 7 years ago
setup.cfg Initial flake8 configuration. 7 years ago
setup.py setup: Scan project dir to find packages 7 years ago
test.sh test.sh: enhancements 7 years ago
tox.ini tests: Add Tox config for Python 2.6 and 2.7 7 years ago

README.md