This website requires JavaScript.
Explore
Help
Sign In
norm
/
song-prompt-webapp
Watch
1
Star
0
Fork
0
You've already forked song-prompt-webapp
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
Files
pprinted_celery_setup
song-prompt-webapp
/
run.py
5 lines
84 B
Python
Raw
Permalink
Normal View
History
Unescape
Escape
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.
2023-12-07 17:25:43 -05:00
from
project
import
create_app
Okay, this branch has become a mess. Opening a new branch with a semi-working celery setup and then will add in my routes and html pages. This branch has reached it's deadend
2023-12-07 17:22:21 -05:00
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.
2023-12-07 17:25:43 -05:00
app
,
celery
=
create_app
(
)
app
.
app_context
(
)
.
push
(
)
Reference in New Issue
Copy Permalink