ask/celery — Issue #636: Retry ETA is 8 hours ahead
Author: infamouse
Created: 2012-03-06 19:21:38+00:00
State: open

After upgrading to 2.5 from 2.4.6 my retries are all being scheduled 8 hours (plus the cooldown) in the future.

It's a simple task that only calls TestRetryTask.retry(exc=Exception("test retry 'failed'"))

[2012-03-06 11:13:30,167: WARNING/PoolWorker-8] Need to retry test 2: ('Retry in 10 secs.', Exception("test retry 'failed'",))
[2012-03-06 11:13:30,168: INFO/MainProcess] Task tasks.TestRetryTask[5e505bae-bdd8-467a-a15e-581cd3e30406] retry: None
None
[2012-03-06 11:13:31,143: INFO/MainProcess] Got task from broker: tasks.TestRetryTask[5e505bae-bdd8-467a-a15e-581cd3e30406] eta:[2012-03-06 19:13:40.165515-08:00]

Notice the timestamps are 11:13:30 - it should retry at 11:13:40 - and it's scheduled for 19:13:40.