Commit Graph

561 Commits

Author SHA1 Message Date
Vladimir Mihailenco f531b3b493 Add Client.String method. 2015-05-18 15:14:12 +03:00
Vladimir Mihailenco c1033ead39 Merge pull request #109 from go-redis/feature/client-pause
Add ClientPause command.
2015-05-18 15:08:17 +03:00
Vladimir Mihailenco c194f97ea2 Merge pull request #112 from go-redis/fix/multi-less-confusion
multi: remove confusing comment.
2015-05-18 15:01:36 +03:00
Vladimir Mihailenco 55f551a447 multi: remove confusing comment. 2015-05-18 14:59:39 +03:00
Vladimir Mihailenco e72b69b964 Increase read/write timeout. 2015-05-18 14:52:46 +03:00
Vladimir Mihailenco bca8659b54 Run tests against latest Redis version. 2015-05-18 14:44:40 +03:00
Vladimir Mihailenco 4df8b2bbbc Add ClientPause command. 2015-05-15 15:11:22 +03:00
Vladimir Mihailenco 44a58ef067 Merge pull request #108 from go-redis/fix/reduce-zadd-mem-alloc
commands: reduce memory allocations in ZAdd.
2015-05-15 13:15:38 +03:00
Adrien Bustany 5f85be3173 commands: reduce memory allocations in ZAdd. 2015-05-15 13:10:42 +03:00
Vladimir Mihailenco bbfbc5f668 Merge pull request #107 from go-redis/fix/psetex-setex-remove
Remove PSetEx and SetEx. Set should be used instead.
2015-05-15 13:02:15 +03:00
Vladimir Mihailenco 3530941b1d Merge pull request #105 from go-redis/chore/redis-v3
Release redis.v3 beta.
2015-05-15 13:01:46 +03:00
Vladimir Mihailenco 0b87c16b61 Remove PSetEx and SetEx. Set should be used instead. 2015-05-14 16:49:47 +03:00
Vladimir Mihailenco 40bad36dfb cluster: don't reload slots if address already changed. 2015-05-14 16:37:12 +03:00
Vladimir Mihailenco 18ea75d2ad Release redis.v3 beta. 2015-05-14 16:24:19 +03:00
Vladimir Mihailenco b4f481ef43 Merge pull request #106 from go-redis/fix/dont-pass-db-password-to-sentinel
Fix/dont pass db password to sentinel
2015-05-14 16:21:03 +03:00
Vladimir Mihailenco 716ecc313b travis: don't test on tip (it is broken). 2015-05-14 16:14:25 +03:00
Vladimir Mihailenco 1078a303ea sentine: don't pass DB and Password to Sentinel client. 2015-05-14 16:13:45 +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 6ee0a9b9f5 Merge pull request #104 from go-redis/fix/use-cluster-info-to-ping
cluster: user ClusterInfo instead of Ping to find live node.
2015-05-14 15:06:30 +03:00
Vladimir Mihailenco f24d3ff013 Increase test timeout. 2015-05-14 14:54:38 +03:00
Vladimir Mihailenco 84cd16e214 cluster: user ClusterInfo instead of Ping to find live node. 2015-05-13 12:38:34 +03:00
Vladimir Mihailenco 368e3ce853 Merge pull request #102 from go-redis/fix/attempts-reset
cluster: don't reset command when there no attempts left.
2015-05-11 13:06:45 +03:00
Vladimir Mihailenco ab2f697b53 Merge pull request #100 from go-redis/fix/pool-close-gracef
pool: gracefully close pool by giving users time to free connection.
2015-05-11 13:04:43 +03:00
Vladimir Mihailenco 8c67e00efc Add auto-retry and MaxRetries option. Fixes #84. 2015-05-10 17:02:47 +03:00
Vladimir Mihailenco 7f1eb05ba8 cluster: don't reset command when there no attempts left. 2015-05-10 16:01:38 +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 2507be6cd2 Merge pull request #96 from go-redis/fix/reload-slots-in-background
Reload slots in background goroutine.
2015-05-05 12:44:43 +03:00
Vladimir Mihailenco d3a8d04b9c Merge pull request #97 from go-redis/fix/pool-closes-all-connections
Fix pool to close all connections when client is closed.
2015-05-05 12:38:46 +03:00
Vladimir Mihailenco f3f44aefbe Fix pool to close all connections when client is closed. 2015-05-05 12:17:44 +03:00
Vladimir Mihailenco 3714e407e0 Merge pull request #98 from go-redis/fix/rm-deprecated-funs
Remove deprecated funcs.
2015-05-05 11:51:43 +03:00
Vladimir Mihailenco 121cfc5792 Remove deprecated funcs. 2015-05-02 16:22:06 +03:00
Vladimir Mihailenco 84dc1f963e Reload slots in background goroutine. 2015-05-01 14:22:49 +03:00
Vladimir Mihailenco f7a1636422 Merge pull request #95 from go-redis/fix/close-client-and-reaper
Implement Close and fix reaper goroutine leak.
2015-05-01 14:20:01 +03:00
Vladimir Mihailenco 7da995891e Lower ticker duration. 2015-05-01 13:24:24 +03:00
Vladimir Mihailenco cc0ee10019 Fix deadlock. Stop time.Ticker. Add a test that closed client is not deadlocked. 2015-05-01 11:01:01 +03:00
Vladimir Mihailenco d00fb6ead9 Implement Close and fix reaper goroutine leak. 2015-05-01 09:37:59 +03:00
Vladimir Mihailenco 593f01fceb Merge pull request #93 from go-redis/fix/dont-reset-clients
cluster: don't reset clients on MOVED.
2015-04-28 20:13:49 +03:00
Vladimir Mihailenco e194c5e81b Merge pull request #94 from go-redis/feature/cluster-benchmark
Add very basic cluster benchmark. Cleanup other benchmarks.
2015-04-28 19:20:02 +03:00
Vladimir Mihailenco 46527c872d cluster: don't reset clients when slots are changed. 2015-04-28 18:17:33 +03:00
Vladimir Mihailenco e6d90baaf8 Add very basic cluster benchmark. Cleanup other benchmarks. 2015-04-28 18:14:19 +03:00
Dimitrij Denissenko 6313dc03a7 Avoid remove/new/init loop in pool 2015-04-23 10:33:59 +01:00
Dimitrij Denissenko 3cf14884c9 Fixed test 2015-04-22 08:50:37 +01:00
Dimitrij Denissenko 750d14fe21 Ensure all new connections are initialised 2015-04-22 08:32:54 +01:00
Dimitrij Denissenko a5891da2f6 Simplify internal API 2015-04-17 14:18:44 +01:00
Dimitrij Denissenko 60e0221c3d Handle test failures 2015-04-17 14:03:34 +01:00
Vladimir Mihailenco e91b88fa17 Merge pull request #90 from go-redis/fix/pool-waiting-for-connection
Fix pool waiting for connection that was removed.
2015-04-17 15:57:27 +03:00
Vladimir Mihailenco d3fb658fef Fix pool waiting for connection that was removed. 2015-04-17 15:42:35 +03:00
Dimitrij Denissenko 6d8aaa46d2 Merge pull request #87 from go-redis/fix/cluster-pipeline
Ensure slots are initialised. Return non-failing connections to pool
2015-04-13 14:51:58 +01:00
Dimitrij Denissenko 51f0a7b0a7 Ensure slots are initialised. Return non-failing connections to pool 2015-04-13 14:33:44 +01:00
Vladimir Mihailenco 9de2369192 Merge pull request #85 from go-redis/fix/time-duration-timeout
Use time.Duration to specify timeout.
2015-04-13 10:04:28 +03:00