Modify a copy of the context when pushing into the queue
issue9549 review327901002
This commit is contained in:
1 parent
261c7b0a52
commit
642bd01520
1 file changed
+1
-1
+1
-1
@@ -211,7 +211,7 @@ class _Method(object):
|
||||
|
||||
def __call__(self, instances, *args, **kwargs):
|
||||
transaction = Transaction()
|
||||
context = transaction.context
|
||||
context = transaction.context.copy()
|
||||
name = context.pop('queue_name', 'default')
|
||||
now = datetime.datetime.now()
|
||||
scheduled_at = context.pop('queue_scheduled_at', None)
|
||||
|
||||
Reference in new issue
Block a user