ServiceStack/ServiceStack.Redis — pull request #183 by mhanney (2013-09-19 22:02:09+00:00)
Title: made idle timeout settable

I am using ServiceStack.Redis PooledRedisClientManager with redistogo.com. Redistogo closes idle client connections after 150 seconds (on the small plan). The current default idle timeout in ServiceStack.Redis is hard set at 240 seconds. This results in "No more data" exceptions when using a connection from the pool that has been closed by the server. Lowering the idle time out to < 150 (for redistogo) fixes this because RedisNativeClient.AssertConnectedSocket does the necessary checks and reconnects the client.