rq v0.6.0 Release Notes
-
- 👷 Jobs that depend on job with result_ttl == 0 are now properly enqueued.
- 👷
cancel_job
now works properly. Thanks @jlopex! - 🚚 Jobs that execute successfully now no longer tries to remove itself from queue. Thanks @amyangfei!
- 🔊 Worker now properly logs Falsy return values. Thanks @liorsbg!
- 👷
Worker.work()
now acceptslogging_level
argument. Thanks @jlopex! - 🛠 Logging related fixes by @redbaron4 and @butla!
- 👷
@job
decorator now acceptsttl
argument. Thanks @javimb! Worker.__init__
now acceptsqueue_class
keyword argument. Thanks @antoineleclair!Worker
now saves warm shutdown time. You can access this property fromworker.shutdown_requested_date
. Thanks @olingerc!- 🔀 Synchronous queues now properly sets completed job status as finished. Thanks @ecarreras!
- 👷
Worker
now correctly deletescurrent_job_id
after failed job execution. Thanks @olingerc! - 👷
Job.create()
andqueue.enqueue_call()
now acceptsmeta
argument. Thanks @tornstrom! - ➕ Added
job.started_at
property. Thanks @samuelcolvin! - 👷 Cleaned up the implementation of
job.cancel()
andjob.delete()
. Thanks @glaslos! - 👷
Worker.execute_job()
now exportsRQ_WORKER_ID
andRQ_JOB_ID
to OS environment variables. Thanks @mgk! rqinfo
now accepts--config
option. Thanks @kfrendrich!- 👮
Worker
class now hasrequest_force_stop()
andrequest_stop()
methods that can be overridden by custom worker classes. Thanks @samuelcolvin! - 🛠 Other minor fixes by @VicarEscaped, @kampfschlaefer, @ccurvey, @zfz, @antoineleclair, @orangain, @nicksnell, @SkyLothar, @ahxxm and @horida.