Hey folks,

I'm trying to wrap my head around how I should be using application
configuration in asynchronous tasks. The code should overlap significantly,
because a lot of the things I need during an async task are things I need
during a request.

Right now the celeryd and the web request handler have the same config and
both create a Flask application object. How do I keep track of the current
application object in the celery server? current_app is not available
because it is not in a request context. Any suggestions? I feel like I
might be approaching this the wrong way.

Craig Younkins

-- 
You received this message because you are subscribed to the Google Groups 
"pocoo-libs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pocoo-libs?hl=en.

Reply via email to