-
Notifications
You must be signed in to change notification settings - Fork 347
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #355 from shanx/fix/wsgi-env-behaviour
Added documentation about wsgi env behaviour strategies
- Loading branch information
Showing
4 changed files
with
17 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
WSGI env behaviour policies | ||
=========================== | ||
|
||
When using uWSGI two different strategies can be used for allocating/deallocating the WSGI env using either the | ||
``wsgi-env-behaviour`` or ``wsgi-env-behavior`` option: | ||
|
||
``cheat``: it preallocates the env dictionary on uWSGI startup and clears it after each request. | ||
This is the default behaviour in uWSGI<=2.0.x | ||
|
||
``holy``: creates and destroys the environ dictionary at each request. This is the default behaviour in uWSGI>=2.1 |
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