Skip to content

Commit

Permalink
Added lazy switch in uwsgi configuration example
Browse files Browse the repository at this point in the history
Also bumped the number of processes to 2. If anybody tries to bump that number will get frequent `sqlalchemy.exc.OperationalError: (OperationalError) SSL error: decryption failed or bad record mac` with the lazy settings. Better to have those switches explicitly there.
  • Loading branch information
tiberiuichim committed Nov 17, 2016
1 parent 06c668b commit faf7c48
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/developing/basic/deployment.rst
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,9 @@ Create an ini file in ``/home/kotti/kotti.ini``::
socket = /home/kotti/<your_domain>.sock
master = true
chmod-socket = 666
processes = 1
processes = 2
lazy = true # needed if want processes > 1
lazy-apps = true

Install Supervisor::

Expand Down

0 comments on commit faf7c48

Please sign in to comment.