-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 12-05-23 07:21 PM, Ian Booth wrote: > On 24/05/12 00:01, Aaron Bentley wrote: >> Only job classes that are mentioned in the >> "jobs.celery.enabled_classes" feature flag will be run, so it is >> safe to land your code. > > > Except that I haven't configured my new jobs to run via the normal > job runner so they will just queue up.
I suppose you could use lp.services.job.runner.celery_enabled to prevent your job from queueing up if they're not enabled to run via Celery. > I may have to relent and configure my jobs to run via the normal > job runner until Celery is ready on production. You are definitely on the bleeding edge, given that we haven't got Celery running jobs on production yet. I do hope we'll be ready soon. If you do want to run jobs via Cron, consider the run_jobs script. Aaron -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk+9wDcACgkQ0F+nu1YWqI25xwCfV54ew3Gl+36rrT/Wvka4o9Oh hrYAnR1+4f8IihhR8v4g1hM1h//YyDla =XSPO -----END PGP SIGNATURE----- _______________________________________________ Mailing list: https://launchpad.net/~launchpad-dev Post to : launchpad-dev@lists.launchpad.net Unsubscribe : https://launchpad.net/~launchpad-dev More help : https://help.launchpad.net/ListHelp