Go to file
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
backend@f939127a0c timezone fix to always use calendar timezone for event description 2020-07-25 19:28:30 +02:00
database migration scripts to newest database 2020-07-25 11:41:12 +02:00
docker uwsgi initialization uses the --lazy flag, to prevent connection overload 2020-08-17 13:21:33 +02:00
server only shows remove calendar button on ical calendar 2020-08-02 00:10:14 +02:00
.gitignore adds static files to server 2020-05-11 21:00:00 +00:00
.gitmodules adds backend as submodule 2020-05-08 13:21:42 +02:00
config.py updates database design for mariadb 2020-05-27 20:06:43 +02:00
README.md backend now uses calendar_id and this is the frontend upgrade 2020-05-18 23:52:18 +02:00
server.py code cleanup and comments 2020-07-10 10:55:01 +02:00
wsgi.ini adds uwsgi support instead of using flask dev server 2020-07-10 11:47:49 +02:00
wsgi.py adds structure for virtual environment uwsgi and http communication 2020-05-10 20:31:42 +02:00

summary:

this repository includes the webpage frontend for the calendar watch server it gets served via a python server

app description:

Longitude is a 24h slow watch-face. The Sun moves around the watch over the course of the day, while the planet completes a rotation every hour. Add your Calendar via a web-platform, so that every glance at your watch shows a summary of your day.

Version 0.1 (beta):

  • This version of the watchface includes the sun and the planet for time visualization

Future (beta):

  • The next version will add support for connecting the device to the web platform