From 662506941f6ad00be535c3d854f3500bc12676de Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Fri, 1 Jul 2016 11:34:14 -0400 Subject: Flush memory cache in worker to get latest config values --- app/Core/Queue/JobHandler.php | 1 + 1 file changed, 1 insertion(+) (limited to 'app/Core/Queue/JobHandler.php') diff --git a/app/Core/Queue/JobHandler.php b/app/Core/Queue/JobHandler.php index f8736cce..4fb673d5 100644 --- a/app/Core/Queue/JobHandler.php +++ b/app/Core/Queue/JobHandler.php @@ -48,6 +48,7 @@ class JobHandler extends Base $worker = new $className($this->container); call_user_func_array(array($worker, 'execute'), $payload['params']); + $this->memoryCache->flush(); } /** -- cgit v1.2.3