misc: Global/GetConst의 캐시 타입을 Public으로 변경
This commit is contained in:
1 parent
ef532f0779
commit
1be6b7a509
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user