Remove query caching config

Refs https://github.com/octobercms/library/pull/253#issuecomment-279944594
This commit is contained in:
Samuel Georges 2017-02-15 20:57:42 +11:00
parent a4b3d2dd3b
commit f608b1ac78
3 changed files with 1 additions and 28 deletions

View File

@ -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,
];

View File

@ -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,
];

View File

@ -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()