tornado-redis
tornado-redis copied to clipboard
Simple connection is not subscribing how to test
I try to debug a tornadoredis Client connection and try to get some values I'm using redis 2.8 and redis 3.0.2
c = Client(...)
c.connect()
c.get('asd')
c.set('asd','asd')
c.get('asd')
returns always None
Also when i do
subscriber = tornadoredis.pubsub.SockJSSubscriber(client)
subscriber.subscribe('list', subscriber)
and then look on the redis server with: pubsub channels
its sometimes returning an empty list or set without any error messages