mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 22:10:55 +01:00
Fix a bad method call in cache startup.
This commit is contained in:
parent
2a3783cd2c
commit
2f0e2544d3
1 changed files with 2 additions and 2 deletions
|
@ -49,7 +49,7 @@ final class PhabricatorDataCacheSpec extends PhabricatorCacheSpec {
|
|||
|
||||
if (ini_get('apc.enabled')) {
|
||||
$this->setIsEnabled(true);
|
||||
$this->getAPCCommonSpec();
|
||||
$this->initAPCCommonSpec();
|
||||
} else {
|
||||
$this->setIsEnabled(false);
|
||||
$this->raiseEnableAPCIssue();
|
||||
|
@ -72,7 +72,7 @@ final class PhabricatorDataCacheSpec extends PhabricatorCacheSpec {
|
|||
}
|
||||
}
|
||||
|
||||
private function getAPCCommonSpec() {
|
||||
private function initAPCCommonSpec() {
|
||||
$mem = apc_sma_info();
|
||||
$this->setTotalMemory($mem['num_seg'] * $mem['seg_size']);
|
||||
|
||||
|
|
Loading…
Reference in a new issue