diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-07-01 11:34:14 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-07-01 11:34:14 -0400 |
commit | 662506941f6ad00be535c3d854f3500bc12676de (patch) | |
tree | e7b5ddc52e4184742568fc808027407bcf2c8720 /app/Core/Queue | |
parent | a089cd72de82acb95986a630b862a4c3090e3e2a (diff) |
Flush memory cache in worker to get latest config values
Diffstat (limited to 'app/Core/Queue')
-rw-r--r-- | app/Core/Queue/JobHandler.php | 1 |
1 files changed, 1 insertions, 0 deletions
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(); } /** |