soveran/ost — pull request #3 by tnachen (2012-04-05 21:05:04+00:00)
Title: Allow redis connection to be customized; Use seperate redis connection for each poll

Currently the redis connection that is created at initialize is not using the Ost.options that is setup by Ost.connect, which means if your redis is not in localhost and not using default port Ost won't work.

Also, performance is really slow if you attempt to producer and consume messages in the same process since it's all sharing the same redis connection. So I changed that for each call to each it creates a new redis connection. I don't think this is a problem since this each call is suppose to long polling anyway.