From 69551793c0430e4f64d6a9ffe0c2e3a709ec8f08 Mon Sep 17 00:00:00 2001 From: Ilan Steemers Date: Mon, 19 Oct 2015 15:42:05 +0200 Subject: [PATCH 1/2] adds timeout to group_key cache object --- django_q/cluster.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django_q/cluster.py b/django_q/cluster.py index b5e8d0c..824dbaf 100644 --- a/django_q/cluster.py +++ b/django_q/cluster.py @@ -450,7 +450,7 @@ def save_cached(task, broker): return # save the group list group_list.append(task_key) - broker.cache.set(group_key, group_list) + broker.cache.set(group_key, group_list, timeout) # async next in a chain if task.get('chain', None): tasks.async_chain(task['chain'], group=group, cached=task['cached'], sync=task['sync'], broker=broker) From e21a9b442f30ea0fe935f3b9ce1d4b6e5feebebe Mon Sep 17 00:00:00 2001 From: Ilan Steemers Date: Tue, 20 Oct 2015 16:42:49 +0200 Subject: [PATCH 2/2] docs: tested with Django 1.9b1 --- docs/install.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/install.rst b/docs/install.rst index 104dd79..5ecd49f 100644 --- a/docs/install.rst +++ b/docs/install.rst @@ -123,7 +123,7 @@ At the moment this means we support the 1.7.10 and 1.8.5 releases. Once version 1.9 is out , support for Django 1.7 will be deprecated. This will mean that newer releases of Django Q might still work, but are no longer targeted for testing. -Django Q has been tested with Django 1.9a1 and should be compatible. +Django Q has been tested with Django 1.9b1 and should be compatible.