You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
flask_rq2.job.FlaskJob is nice, but initializing the app each time can be time-consuming if the app has to make a database connection, initialize some other extensions, etc. It'd be great if this were handled by a custom Worker class. I gave it a try and while I haven't tested extensively this seems to work:
flask_rq2.job.FlaskJob
is nice, but initializing the app each time can be time-consuming if the app has to make a database connection, initialize some other extensions, etc. It'd be great if this were handled by a customWorker
class. I gave it a try and while I haven't tested extensively this seems to work:If this seems useful to anyone else I'd be happy to submit a PR.
The text was updated successfully, but these errors were encountered: