Django Async

Created 2014-09-23T11:56:53.171Z, last edited 2014-09-23T12:20:41.234Z

django-async 0.6 has been released.

  • Added group model for grouping job, slumber operation for that model.
  • Brought in time zone support in Django 1.4. Thanks to Peter Brooks for initiating the effort.
  • Added jobs limit option into flush_queue command.
  • Add field cancelled to job
  • Add a function that can be placed into the async queue for clearing out old jobs.
  • Add the ability to have multiple workers so that throughput and latency can be improved.

Detailed changes

  • Fix admin error when a job has no group
  • Fixed a bug that stopped us from running jobs in top level modules.
  • Added database indexes to speed up selection of jobs, and the progress operation and re-arranged the bookkeeping of job execution to lower transaction costs. Also added in scripts to make testing of the queue overhead simpler.
  • Fixed the generation of the progress operation URL.
  • When giving a group name to the schedule API it now does the right thing and creates a new group instance if appropriate.
  • A final job can be set on a group (using on_completion) which will be executed after all of the other jobs have been done.
  • Include the time consumed in the progress report and switch to ISO formatted dates.
  • Fix pylint 1.2.1 issues.
  • Changed the progress estimated_group_duration to estimated_total_time and added in remaining_seconds to the Slumber progress operation.
  • Modified api to accept target group parameter.
  • Make remove old job function include cancelled jobs