skip to Main Content

connection refuse with redis and phpfastcache

I am trying to set a connection to redis using phpfastcache but I keep getting connection refuse Here is my simple code: $defaultDriver = 'Redis'; $Psr16Adapter = new Psr16Adapter($defaultDriver); if(!$Psr16Adapter->has('foo')) { $Psr16Adapter->set('foo', 'test', 300); } else { $data = $Psr16Adapter->get('foo');…

VIEW QUESTION

Unable to List Redis Instances in my gcp project using the redis python API

This is the source code that I have written following the Redis_API documentation here What is the error that I am making https://googleapis.dev/python/redis/latest/gapic/v1/api.html from google.oauth2.service_account import Credentials from google.cloud import redis_v1 LOGGER = logging.getLogger(__name__) class GcpMemorystore: def __init__(self, credentials, project_id:…

VIEW QUESTION
Back To Top
Search