When apscheduler starts multiple tasks at the same time, Flask SqlAlchemy query will hang I’ll post a reproducible demo code first.