From 3ac558be35955bdab716dbe8c8ce1feb51e835fc Mon Sep 17 00:00:00 2001 From: David Windell Date: Wed, 22 May 2024 13:23:13 +0100 Subject: [PATCH] Remove TTL on GCS cache --- Model/Adapter/StorageObjectManagement.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Model/Adapter/StorageObjectManagement.php b/Model/Adapter/StorageObjectManagement.php index 1df688a..982c920 100644 --- a/Model/Adapter/StorageObjectManagement.php +++ b/Model/Adapter/StorageObjectManagement.php @@ -337,8 +337,7 @@ public function getObject(string $path): ?StorageObject $this->cache->save( $this->serializer->serialize(array_merge($cacheGcs, [$path])), GcsCache::TYPE_IDENTIFIER, - [GcsCache::CACHE_TAG], - 86400 + [GcsCache::CACHE_TAG] ); return $object;