Page MenuHomec4science

PhabricatorCacheSetupCheck.php
No OneTemporary

File Metadata

Created
Tue, Nov 26, 22:59

PhabricatorCacheSetupCheck.php

<?php
final class PhabricatorCacheSetupCheck extends PhabricatorSetupCheck {
public function getDefaultGroup() {
return self::GROUP_OTHER;
}
protected function executeChecks() {
$code_cache = PhabricatorOpcodeCacheSpec::getActiveCacheSpec();
$data_cache = PhabricatorDataCacheSpec::getActiveCacheSpec();
$issues = $code_cache->getIssues() + $data_cache->getIssues();
foreach ($issues as $issue) {
$this->addIssue($issue);
}
}
}

Event Timeline