This branch with celery async workers has no code errors, but running a GPT thread on the celery worker causes a SIGFAULT failure. Need to try this on a server instead of my local machine to see if it will run without failing. If it still fails, then I need to separate my async tasks and the flask app with the tasks dumping into the db and flask just pulling out of the DB.

This commit is contained in:
Normanras
2023-12-07 17:25:43 -05:00
parent adba1147ca
commit b8e3fe7e75
97 changed files with 128 additions and 178987 deletions

4
run.py
View File

@ -1,2 +1,4 @@
from application import app
from project import create_app
app, celery = create_app()
app.app_context().push()