Commit Graph

32 Commits

Author SHA1 Message Date
Vladimir Mihailenco 25164333ff Fix pool panic on slow connection with MaxRetries > 0. 2015-10-13 12:10:04 +03:00
Vladimir Mihailenco 9987f2abaa Add PubSub.ReceiveMessage. 2015-09-06 13:54:04 +03:00
Vladimir Mihailenco 58cb170ac0 Get rid of custom bufio package. 2015-09-03 18:41:35 +03:00
Vladimir Mihailenco 029065eb68 Fix nil pool on read timeout. Fixes #135. 2015-07-13 13:45:37 +03:00
Vladimir Mihailenco a8fe55571b pool: put connection to the list before returning it. 2015-06-03 16:45:46 +03:00
Vladimir Mihailenco 7d886330f1 pool: close all connections at once. 2015-06-03 14:50:43 +03:00
Vladimir Mihailenco 9d6c73eb9d Don't panic if list is closed and conn can't be found. 2015-06-03 14:18:15 +03:00
Vladimir Mihailenco 40b429df49 Reduce number of various options structs. Slightly reword comments. 2015-05-23 17:56:18 +03:00
Vladimir Mihailenco b8b073f3bf Merge pull request #101 from go-redis/feature/auto-retry-and-max-retries
Add auto-retry and MaxRetries option. Fixes #84.
2015-05-14 15:11:40 +03:00
Vladimir Mihailenco 8c67e00efc Add auto-retry and MaxRetries option. Fixes #84. 2015-05-10 17:02:47 +03:00
Vladimir Mihailenco 575fe0d0b5 pool: gracefully close pool by giving users time to free connection. 2015-05-10 11:15:59 +03:00
Vladimir Mihailenco f3f44aefbe Fix pool to close all connections when client is closed. 2015-05-05 12:17:44 +03:00
Dimitrij Denissenko 6313dc03a7 Avoid remove/new/init loop in pool 2015-04-23 10:33:59 +01:00
Dimitrij Denissenko 750d14fe21 Ensure all new connections are initialised 2015-04-22 08:32:54 +01:00
Vladimir Mihailenco d3fb658fef Fix pool waiting for connection that was removed. 2015-04-17 15:42:35 +03:00
Vladimir Mihailenco fe931fc851 Add reaper that closes idle connections to the cluster. 2015-04-05 15:41:16 +03:00
Dimitrij Denissenko e3ba7e7bf6 Improved rate-limiter, use ratelimit package 2015-03-25 17:02:26 +00:00
Dimitrij Denissenko c21e5f3255 Add Redis Cluster support. 2015-03-19 11:19:55 +02:00
Vladimir Mihailenco f9d30778d2 Merge pull request #70 from go-redis/feature/faster-pool
Faster, lock-free pool
2015-02-02 11:05:25 +02:00
Dimitrij Denissenko a6385ccf0a Documented options 2015-01-31 14:54:37 +00:00
Dimitrij Denissenko 9f9822edd2 Use a lock-free connection pool 2015-01-31 13:20:37 +00:00
Dimitrij Denissenko 5280246642 Minor. Report rate-limiter errors correctly. 2015-01-31 12:04:30 +00:00
Vladimir Mihailenco 9c17ce2d93 Improve rate limited error message. 2015-01-31 10:12:01 +02:00
Vladimir Mihailenco 551257a988 Rewrite rate limiter. 2014-10-02 11:39:06 +03:00
Vladimir Mihailenco 1c2b863036 rate_limit: break loop when pool is closed. 2014-09-04 10:22:44 +03:00
Vladimir Mihailenco 3836435639 Remove glog. 2014-07-31 16:01:54 +03:00
Vladimir Mihailenco 97039c229c Reuse write buffer. 2014-07-13 15:07:37 +03:00
Vladimir Mihailenco 678b8b3667 Cleanup. 2014-06-28 14:47:37 +03:00
Vladimir Mihailenco 5ea8ad46d6 Fix import path. 2014-06-18 16:47:21 +03:00
Vladimir Mihailenco a042cdda74 Redis Sentinel support. 2014-06-14 14:46:11 +03:00
Vladimir Mihailenco 5f52b5823f pool: rate limit number of open connections. 2014-05-15 14:21:37 +03:00
Vladimir Mihailenco 3bea997988 all: switch to gopkg.in. 2014-05-11 10:44:22 +03:00