Merge branch 'chore-upgrade-cache' of https://github.com/appwrite/appwrite into joins2

# Conflicts:
#	composer.lock
This commit is contained in:
fogelito
2026-02-03 08:42:44 +02:00
3 changed files with 21 additions and 115 deletions
+5 -2
View File
@@ -318,8 +318,11 @@ $register->set('pools', function () {
default => null
};
$adapter->setMaxRetries(CACHE_RECONNECT_MAX_RETRIES);
$adapter->setRetryDelay(CACHE_RECONNECT_RETRY_DELAY);
if ($adapter !== null) {
$adapter->setMaxRetries(CACHE_RECONNECT_MAX_RETRIES);
$adapter->setRetryDelay(CACHE_RECONNECT_RETRY_DELAY);
}
return $adapter;
default:
throw new Exception(Exception::GENERAL_SERVER_ERROR, "Server error: Missing adapter implementation.");