Having a pyramid application that runs a ZEO client to access a ZODB backend I want to offload long running import task from pyramid to celery. I am already using pyramid_celery to start web application and celery worker from a single source of configuration.
* pserve development.ini * pceleryd development.ini I use typical pyramid_zodbconn setup to supply root_factory to pyramid configuration. But until now I failed to allow celery tasks to have access to ZODB root object. Pyramid code applying celery tasks having sqlalchemy and pyramid_tm to access database looks pretty easy, that is why I started to use celery. I already hacked on the sample application 'long_running_with_tm' that ships with pyramid_celery. Task module just imports DBSession - that's usually all. But how to same stuff that with a ZODB/ZEO connection? Anybody familiar with that setup? -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/pylons-discuss. For more options, visit https://groups.google.com/d/optout.
