mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Add Note for async workers with Django
Django lazy loads URLConf during the first request.
This commit is contained in:
parent
3bffef06c2
commit
d203d022f5
@ -137,3 +137,13 @@ this queue new connections will eventually start getting dropped.
|
|||||||
::
|
::
|
||||||
|
|
||||||
$ sudo sysctl -w net.core.somaxconn="2048"
|
$ sudo sysctl -w net.core.somaxconn="2048"
|
||||||
|
|
||||||
|
|
||||||
|
Troubleshooting
|
||||||
|
===============
|
||||||
|
|
||||||
|
How do I fix Django reporting an ``ImproperlyConfigured`` error?
|
||||||
|
----------------------------------------------------------------
|
||||||
|
|
||||||
|
With asynchronous workers, creating URLs with the ``reverse`` function of
|
||||||
|
``django.core.urlresolvers`` may fail. Use ``reverse_lazy`` instead.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user