-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
export application object when using gunicorn or wsgi, fix #20
For higher concurrency (if possible at all with SQLite), gevent will be used if installed (`pip install gevent`). Furthermore, `weave-minimal` exports an *application* object for uWSGI and Gunicorn, e.g.: ```bash $ env ENABLE_REGISTRATION=1 DATA_DIR=/var/lib/... gunicorn weave -b localhost:1234 ``` Do *not* use multiple processes to run `weave-minimal`. The code does not acquire inter-process locks on the database and I have no plans to add a IPC concurrency pattern to the rather simple code base (programmer's lame excuse, I know).
- Loading branch information
Showing
2 changed files
with
24 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters