Skip to content

Commit

Permalink
some doc cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
rfk committed Jan 26, 2011
1 parent de2b2e2 commit 1a8b638
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 6 additions & 3 deletions m2wsgi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@
python -m m2wsgi --io=eventlet dotted.app.name tcp://127.0.0.1:9999
I'm interested in adding support for other IO modules such as gevent;
contributions welcome.
Programmatic Usage
------------------
Expand Down Expand Up @@ -76,9 +79,8 @@
and mongrel2 (via zmq) will automatically load-balance the requests to them.
Similarly, there's no explicit support for reloading when the code changes.
Just start up a new instance of the handler, then kill the old one. Zmq will
ensure that the handover happens gracefully.
Just kill the old handler and start up a new one. If you're using fixed
handler UUIDs then zmq will ensure that the handover happens gracefully.
Current bugs, limitations and things to do
Expand All @@ -94,6 +96,7 @@
thread as a slow one, making them wait even if other threads become
available. I'm working on a zmq adapter that can do something better.
"""

__ver_major__ = 0
Expand Down
2 changes: 1 addition & 1 deletion m2wsgi/tests/test_m2wsgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def test_README(self):
updates it with the contents of m2wsgi.__doc__.
"""
dirname = os.path.dirname
readme = os.path.join(dirname(dirname(dirname(__file__))),"README.txt")
readme = os.path.join(dirname(dirname(dirname(__file__))),"README.rst")
if not os.path.isfile(readme):
f = open(readme,"wb")
f.write(m2wsgi.__doc__.encode())
Expand Down

0 comments on commit 1a8b638

Please sign in to comment.