mirror of
https://github.com/frappe/gunicorn.git
synced 2026-07-04 03:31:29 +08:00
docs: fix post_request hook signature description
The description incorrectly stated the callable accepts two parameters (Worker and Request), but the signature shows four parameters including environ and resp. Closes #2592
This commit is contained in:
parent
7c22955837
commit
33e5337395
@ -1947,7 +1947,8 @@ class PostRequest(Setting):
|
||||
Called after a worker processes the request.
|
||||
|
||||
The callable needs to accept two instance variables for the Worker and
|
||||
the Request.
|
||||
the Request. If a third parameter is defined it will be passed the
|
||||
environment. If a fourth parameter is defined it will be passed the Response.
|
||||
"""
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user