Skip to content
This repository has been archived by the owner on Sep 18, 2021. It is now read-only.

Commit

Permalink
Ignore errors when doing the final shutdown of the jredis client.
Browse files Browse the repository at this point in the history
  • Loading branch information
rcohen committed Aug 31, 2011
1 parent a8e16d1 commit 5d9cb2e
Showing 1 changed file with 5 additions and 1 deletion.
Expand Up @@ -72,7 +72,11 @@ class Pipeline(client: PipelinedRedisClient, hostname: String, maxSize: Int,
val head = pipeline.poll
wrap({ () => head.callback(head.future) }, head.onError)
}
client.redisClient.quit()
try {
client.redisClient.quit()
} catch {
case e: ClientRuntimeException =>
}
completed.countDown
}

Expand Down

0 comments on commit 5d9cb2e

Please sign in to comment.