nfarring/redisrpc — pull request #4 by yaauie (2012-04-20 00:21:21+00:00)
Title: Don't flush queue on RedisRPC::Server#run

In our environment we have multiple `RedisRPC::Server` instances running to serve up multiple clients. Having each flush the queue before starting is a Very Bad Thing and causes us to lose requests.

I added `RedisRPC::Server#flush_queue!`, then added `RedisRPC::Server#run!` which calls it before calling `RedisRPC::Server#run`; the convention in ruby is to add a bang to a method name if it is a destructive variant, which this is.