leporo / tornado-redis

Asynchronous Redis client that works within Tornado IO loop.
666 stars 162 forks source link

Simple connection is not subscribing how to test #91

Open blodone opened 9 years ago

blodone commented 9 years ago

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