added nullcache to the structures job
This commit is contained in:
@@ -73,6 +73,12 @@ class ProcessStructureJob implements ShouldQueue
|
|||||||
|
|
||||||
$this->esi = new Eseye($authentication);
|
$this->esi = new Eseye($authentication);
|
||||||
|
|
||||||
|
// Disable all caching by setting the NullCache as the
|
||||||
|
// preferred cache handler. By default, Eseye will use the
|
||||||
|
// FileCache.
|
||||||
|
$configuration = Configuration::getInstance();
|
||||||
|
$configuration->cache = NullCache::class;
|
||||||
|
|
||||||
//Set the connection for the job
|
//Set the connection for the job
|
||||||
$this->connection = 'redis';
|
$this->connection = 'redis';
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user