misc: Global/GetConst의 캐시 타입을 Public으로 변경

This commit is contained in:
2022-04-21 01:18:12 +09:00
parent ef532f0779
commit 1be6b7a509
+1 -1
View File
@@ -107,7 +107,7 @@ class GetConst extends \sammo\BaseAPI
return new APICacheResult(TimeUtil::secondsToDateTime($this->findLastModified()??\time(), true, true));
}
return new APICacheResult(null, $this->getCacheKey());
return new APICacheResult(null, $this->getCacheKey(), 60, true);
}
public function readCache(Cache $cache): null|string|array|int|float|bool