Bug/multiple events (#631)

* add --preload

* formatting

* use sql database

Co-authored-by: hay-kot <hay-kot@pm.me>
This commit is contained in:
Hayden
2021-07-24 00:15:01 -08:00
committed by GitHub
parent b2eaf1ee02
commit bf06482b29
4 changed files with 13 additions and 10 deletions

View File

@@ -1,3 +1,5 @@
from apscheduler.jobstores.sqlalchemy import SQLAlchemyJobStore
from apscheduler.schedulers.background import BackgroundScheduler
from mealie.core.config import settings
scheduler = BackgroundScheduler()
scheduler = BackgroundScheduler(jobstores={"default": SQLAlchemyJobStore(settings.SCHEDULER_DATABASE)})