Commit Graph

54 Commits (7d10ebbef3b0595bd4a6adfadd85edd2557d7cbc)

Author SHA1 Message Date
David Wilson 7785aa4ff8 ansible: Support many more common playbook variables. 7 years ago
David Wilson 719316daef docs: Docker typo. 7 years ago
David Wilson 7cf7c3271a Add Docker method. 7 years ago
David Wilson 9e70a32567 ansible: log call timings 7 years ago
David Wilson 87db049669 ansible: delete utils.py and promote cast() to mitogen.utils 7 years ago
David Wilson 7e8ef4223c ssh: enable compression by default
Using the same test as in 7af97c0365,
transmitted wire bytes drops from 135,531 to 133,071 (-1.81%), while
received drops from 21,073 to 14,775 (-30%).

Combined, both changes shave 13,914 bytes (-8.6%) off aggregate
bandwidth usage.

Make it configurable as compression hurts in some scenarios.
7 years ago
David Wilson 536fe9afb8 master: Select.all() sugar 7 years ago
dw 3e20b5036f
Merge pull request #79 from moreati/doc-router-route
Fix indentation of Router.route anchor
7 years ago
Alex Willmer 3bf204f8d6 docs: Fix out of date get_data() snippets
As of adc8fe3aed Receiver objects do not
have a get_data() method and Receiver.get() does not unpickle the
message.
7 years ago
Alex Willmer 631c97b143 Fix indentation of Router.route anchor 7 years ago
David Wilson dadee5dc05 docs: add Message documentation 7 years ago
David Wilson 8ef87bea6a select: clean up API. 7 years ago
David Wilson ddf4a21bac Add mitogen.main() decorator mainly for docs and demo use. 7 years ago
David Wilson 6897227a31 utils: support log_to_file(usec=True) 7 years ago
David Wilson 22c1594f04 Simplify the API, make Broker optional and auto-shutdown on main thread exit. 7 years ago
David Wilson 8f42a58281 docs: move Router.route() into Sphinx. 7 years ago
David Wilson 48096ab033 docs: move Broker docstrings into Sphinx. 7 years ago
David Wilson d800b684ef Merge branch 'module-preloading'
Not much point in keeping the docs changes separate.
7 years ago
David Wilson dc6ed860f7 docs: fix reference to with: 7 years ago
David Wilson 320191cae2 docs: move fakessh docs into Sphinx. 7 years ago
David Wilson 2830304407 docs: move mitogen.utils docs to Sphinx. 7 years ago
David Wilson b56f848cc6 docs: fix decorator types. 7 years ago
David Wilson 8e69838b44 docs: annother barriage of cross-reference fixes. 7 years ago
David Wilson b88e68df72 docs: Fix up tons of references, document trust chain 7 years ago
David Wilson 88c82aff6a docs: Fix index generation everywhere. 7 years ago
David Wilson e057d289e9 Reference Select 7 years ago
David Wilson ed329fe580 Typo. 7 years ago
David Wilson 8d8096b6d8 docs: fix :return: syntax. 7 years ago
David Wilson 3a883d79f6 More API documentation. 7 years ago
David Wilson 0da42a5e90 Typo. 7 years ago
David Wilson 62c9dc6f49 Better document Router API and constructors. 7 years ago
David Wilson 126080019d Add mitogen.parent_ids to docs. 7 years ago
David Wilson a5f809cbd9 Tidy up select examples even more. 7 years ago
David Wilson 05d601c315 Document channel class 7 years ago
David Wilson 89220a418a Document Sender and Receiver classes. 7 years ago
David Wilson 39924c432f Tidy up select docs. 7 years ago
David Wilson 6dc0e13f5f issue #20: Return type fix. 7 years ago
David Wilson 186d823600 issue #20: tests and fixes for mitogen.master.Select(). 7 years ago
David Wilson 6869292738 issue #20: initial implementation of mitogen.master.Select(). 7 years ago
David Wilson 1ed8bb6924 Document a bunch of mitogen.master and move more docstrings into Sphinx. 7 years ago
David Wilson 535ffc25b7 Move more docstrings out of core.py. 7 years ago
David Wilson 05a0feb2f9 core: support takes_econtext and takes_router decorators. 7 years ago
David Wilson 1627164165 fix unbelievably dumb variable shadowing 7 years ago
David Wilson 6e3f0702a3 A few more mitogen.slave/master changes 7 years ago
David Wilson 446e956e8f Rename package. 7 years ago
David Wilson 1bd510601e fakessh: rename API function to match index.rst. 7 years ago
David Wilson 65d5844d1a Tidy up docs. 7 years ago
David Wilson 42732c90b6 Add sudo factory to docs. 8 years ago
David Wilson ff903b1bcd Rearrange docs, split connection methods into submodules. 8 years ago
David Wilson fea12a6030 Many updates: graceful shutdown, docs, threading
* Start splitting docs up into internals.rst / api.rst
* Docs for lots more of econtext.core.
* Get rid of _update_stream() and has_output(), replace with individual
  functions called as state changes.
* Add Broker.on_thread() and remove Stream._lock: simply call
  on_thread() to ensure buffer management is linearized.
* Rename read_side/write_side to receive_side/transmit_side like event
  handler names.
* Clean up some more repr / debug logs.
* Move handle cleanup to Context.on_shutdown where it belongs.
* Make wake() a noop when called from broker thread.
* Replace graceful_count crap with Side.graceful attribute, add
  Broker.keep_alive() to check whether any registered readers want to
  be kept alive for graceful shutdown() or any child contexts with a
  connected stream exist.
* Make master.Broker timeout slightly longer than slave broker.
* Add generic on_thread() to allow running code on the IO thread.
8 years ago