Skip to content
Snippets Groups Projects
Commit 35243b01 authored by llaffont's avatar llaffont
Browse files

Amélioration perfs sur les describe table pour les tests

parent 050d65cf
Branches
Tags
No related merge requests found
......@@ -53,7 +53,18 @@ defineConstant("URL_SHARED_IMG", BASE_URL . "/public/opac/images");
setupOpac();
Zend_Registry::get('cache')->setOption('caching', true);
$db_cache = Zend_Cache::factory('Core',
'File',
['lifetime' => 300 ,
'automatic_serialization' => true],
['cache_dir' => PATH_TEMP ]);
Zend_Db_Table_Abstract::setDefaultMetadataCache($db_cache);
Storm_Cache::setSeed('local');
$cfg = new Zend_Config(Zend_Registry::get('cfg')->toArray(), true);
$cfg->amber = new Zend_Config(array('deploy' => false));
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment