Browse Source

\yii\caching\DbCache updated

tags/2.0.0-beta
Alexander Kochetov 11 years ago
parent
commit
f4becf376c
  1. 2
      framework/yii/caching/DbCache.php

2
framework/yii/caching/DbCache.php

@ -63,7 +63,7 @@ class DbCache extends Cache
* When using DbCache in a production server, we recommend you create a DB index for the 'expire' * When using DbCache in a production server, we recommend you create a DB index for the 'expire'
* column in the cache table to improve the performance. * column in the cache table to improve the performance.
*/ */
public $cacheTable = 'tbl_cache'; public $cacheTable = '{{%cache}}';
/** /**
* @var integer the probability (parts per million) that garbage collection (GC) should be performed * @var integer the probability (parts per million) that garbage collection (GC) should be performed
* when storing a piece of data in the cache. Defaults to 100, meaning 0.01% chance. * when storing a piece of data in the cache. Defaults to 100, meaning 0.01% chance.

Loading…
Cancel
Save