From 62439ebce11551a11b70dd0cfd5f2c9bfbea32cc Mon Sep 17 00:00:00 2001 From: janua bisconti Date: Fri, 20 Dec 2024 12:55:59 +0100 Subject: [PATCH] nuova versione per il cluster --- src/SuperCacheManager.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/SuperCacheManager.php b/src/SuperCacheManager.php index e13fb5b..e04b9a7 100644 --- a/src/SuperCacheManager.php +++ b/src/SuperCacheManager.php @@ -59,13 +59,6 @@ public function put(string $key, mixed $value, ?int $ttl = null, ?string $connec { // Calcola la chiave con o senza namespace in base alla configurazione $finalKey = $this->getFinalKey($key); - /** - * $this->redis->getRedisConnection($connection_name)->set($finalKey, $this->serializeForRedis($value)); - * - * if ($ttl !== null) { - * $this->redis->getRedisConnection($connection_name)->expire($finalKey, $ttl); - * } - */ if ($ttl !== null) { $this->redis->getRedisConnection($connection_name)->setEx('{' . $finalKey . '}', $ttl, $this->serializeForRedis($value));