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 | |
parent | a089cd72de82acb95986a630b862a4c3090e3e2a (diff) |
Flush memory cache in worker to get latest config values
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | app/Core/Queue/JobHandler.php | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -22,6 +22,7 @@ Bug fixes: * Fixed broken CSV exports * Fixed identical background color for LetterAvatar on 32bits platforms (Hash greater than PHP_MAX_INT) * Fixed lexer issue with non word characters +* Flush memory cache in worker to get latest config values Version 1.0.30 -------------- 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(); } /** |