Remove query caching config
Refs https://github.com/octobercms/library/pull/253#issuecomment-279944594
This commit is contained in:
parent
a4b3d2dd3b
commit
f608b1ac78
|
|
@ -329,18 +329,4 @@ return [
|
|||
|
||||
'forceBytecodeInvalidation' => true,
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Duplicate database query cache
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| If the caching is enabled, database queries with identical statements will
|
||||
| have the results stored in memory across the same request. This increases
|
||||
| performance for smaller more frequent queries but may lower performance
|
||||
| for queries that return a large number of records.
|
||||
|
|
||||
*/
|
||||
|
||||
'enableDuplicateQueryCache' => true,
|
||||
|
||||
];
|
||||
|
|
|
|||
|
|
@ -109,18 +109,4 @@ return [
|
|||
|
||||
'themesPathLocal' => base_path('tests/fixtures/themes'),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Duplicate database query cache
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| If the caching is enabled, database queries with identical statements will
|
||||
| have the results stored in memory across the same request. This increases
|
||||
| performance for smaller more frequent queries but may lower performance
|
||||
| for queries that return a large number of records.
|
||||
|
|
||||
*/
|
||||
|
||||
'enableDuplicateQueryCache' => false,
|
||||
|
||||
];
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@ class RevisionableModelTest extends PluginTestCase
|
|||
include_once base_path().'/tests/fixtures/plugins/database/tester/models/Post.php';
|
||||
|
||||
$this->runPluginRefreshCommand('Database.Tester');
|
||||
Model::flushDuplicateCache();
|
||||
}
|
||||
|
||||
public function testUpdateNothing()
|
||||
|
|
|
|||
Loading…
Reference in New Issue