NIAEFEUP / tts-be

A platform where students can experiment with the possible combination of schedule options they can pick at the start of the semester
https://tts.niaefeup.pt
6 stars 1 forks source link

fix: django waits for my mysql to initalize #36

Closed Jumaruba closed 2 years ago

Jumaruba commented 2 years ago

Currently, the django doesn't wait for the mysql to initialize. Since the first execution of the mysql is slower (it loads the data), the django fails to initialize, which required to execute it again. Now, the django entrypoint checks the state of the mysql database periodically and just initializes if the database is initialized.

closes #32