← Back to team overview

launchpad-dev team mailing list archive

Re: What is the state of celery in production?

 

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



On 24/05/12 00:01, Aaron Bentley wrote:
> On 12-05-22 08:09 PM, Ian Booth wrote:
>> I haven't landed any of my branches which introduce the new
>> Celery jobs yet since I am waiting for Celery to be ready.
> 
> 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 may have to relent and configure
my jobs to run via the normal job runner until Celery is ready on
production.


> 
> The jobs code checks the retry_error_types member of your 
> BaseRunnableJob subclass, and if the exception matches one of
> those classes, it retries the job until it hits max_retries.  If it
> hits max_retries, it allows the exception to propagate.
> 

Ah, good to know. Thanks.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iJwEAQECAAYFAk+9cRAACgkQCJ79BCOJFcY0dgP9FnK4/XmF4st5IL4S92mcvKUF
a/01iNhldI5sJ57gMGvxhocqiWagMJ221ulLce8eNnLL0UH2oj8G5LlEUQUMCuRp
jC+OgglxMKLII7Oxn+SEfE4Kku3xkmJcJnO2s+f+kSceMcM1gLQvbLV3G/neeS9J
yWUx51E56uH7266Ckc8=
=upb8
-----END PGP SIGNATURE-----


Follow ups

References