calendarwatch_frontend/docker/calendarwatch
Raphael Maenle 081888d1f6 uwsgi initialization uses the --lazy flag, to prevent connection overload
as described in https://serverfault.com/questions/407612/error-2006-mysql-server-has-gone-away
the uwsgi server usually forks its workers from the parent, which already has a connection
open to the mysql database. So the new child typically inherits the same connection.
Should both workers use the same connection at the same time, the server connection throws a
'2006, server has gone away error'.
The flag --lazy creates fresh forks for each child, each creating a new connection.
This prevents the overload and after testing, the '2006' error seems to not be reproduceable.
2020-08-17 13:21:33 +02:00
..
docker-entrypoint.sh uwsgi initialization uses the --lazy flag, to prevent connection overload 2020-08-17 13:21:33 +02:00
Dockerfile adds ical input to calendar html templates and implements data handling 2020-07-25 18:05:55 +02:00