tornado-redis icon indicating copy to clipboard operation
tornado-redis copied to clipboard

Simple connection is not subscribing how to test

Open blodone opened this issue 9 years ago • 0 comments

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

blodone avatar Jun 27 '15 15:06 blodone