diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2018-11-28 14:52:31 -0100 |
---|---|---|
committer | Maxence Lange <maxence@artificial-owl.com> | 2018-11-28 14:52:31 -0100 |
commit | fbaa3dd2cdc589545b4caaadc58572d1dfba07c6 (patch) | |
tree | 731e4b9d3c08476d50c0dd3af13752219908e2f5 /lib/Db | |
parent | 4c5450bd868d4414ae88620e134db6d827b97ad7 (diff) |
CACHE_TTL -> CACHING_TIMEOUT
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'lib/Db')
-rw-r--r-- | lib/Db/CacheActorsRequest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Db/CacheActorsRequest.php b/lib/Db/CacheActorsRequest.php index b8f154e7..4e6b6c17 100644 --- a/lib/Db/CacheActorsRequest.php +++ b/lib/Db/CacheActorsRequest.php @@ -42,7 +42,7 @@ use OCP\IDBConnection; class CacheActorsRequest extends CacheActorsRequestBuilder { - const CACHE_TTL = 60 * 24; // 1d + const CACHING_TIMEOUT = 60 * 24; // 1d /** * CacheActorsRequest constructor. @@ -180,7 +180,7 @@ class CacheActorsRequest extends CacheActorsRequestBuilder { public function getRemoteActorsToUpdate(): array { $qb = $this->getCacheActorsSelectSql(); $this->limitToLocal($qb, false); - $this->limitToCreation($qb, self::CACHE_TTL); + $this->limitToCreation($qb, self::CACHING_TIMEOUT); $update = []; $cursor = $qb->execute(); |