Commit Graph

1597 Commits

Author SHA1 Message Date
Vladimir Mihailenco 6e1aef39ea Faster and simpler pool. 2016-03-19 11:49:13 +02:00
Vladimir Mihailenco 0303cfbb96 Merge pull request #284 from go-redis/fix/pool-tests
Move some tests to pool package.
2016-03-17 18:11:04 +02:00
Vladimir Mihailenco 93a7fe0de3 Move some tests to pool package. 2016-03-17 13:48:04 +02:00
Vladimir Mihailenco 998148be40 Merge pull request #283 from go-redis/fix/race-tests
Extract race tests to separate file. Add more race tests.
2016-03-17 09:46:52 +03:00
Vladimir Mihailenco f47fb47df0 Extract race tests to separate file. Add more race tests. 2016-03-16 19:45:35 +02:00
Vladimir Mihailenco 9d394cc7fb Merge pull request #281 from go-redis/fix/client-init
Fix connection initialization.
2016-03-15 15:16:38 +02:00
Vladimir Mihailenco 956d6c508b Try to fix flaky test. 2016-03-15 14:45:04 +02:00
Vladimir Mihailenco 707472c09b Fix connection initialization. 2016-03-15 14:21:53 +02:00
Vladimir Mihailenco 7f594cdbe1 Merge pull request #280 from go-redis/fix/big-vals-race-test
Add race test for big vals.
2016-03-14 20:08:06 +02:00
Vladimir Mihailenco e37202e605 Skip flaky tests. 2016-03-14 19:38:22 +02:00
Vladimir Mihailenco 46790aa060 Add race test for big vals. Copy connection to avoid race with PubSub. 2016-03-14 16:34:15 +02:00
Vladimir Mihailenco 50b2689809 Merge pull request #279 from go-redis/fix/readn-slice-grow
Fix slice grow in readN.
2016-03-14 12:46:01 +02:00
Vladimir Mihailenco 672fb9bb97 Fix slice grow in readN. 2016-03-14 12:36:18 +02:00
Vladimir Mihailenco 4665ad860f Merge pull request #277 from go-redis/feature/conn-stack
Make free-connection stack a LIFO.
2016-03-12 15:21:05 +02:00
Vladimir Mihailenco ef5ccc12ae Add tests for conn reaper. 2016-03-12 14:42:12 +02:00
Dimitrij Denissenko 1bb55e3a9a Make free-connection stack a LIFO. 2016-03-12 13:39:50 +02:00
Vladimir Mihailenco 7a4f8ede8f Merge pull request #275 from go-redis/fix/move-pool-benchmark
Move benchmark to relevant package. Added bench task
2016-03-12 13:09:13 +02:00
Dimitrij Denissenko 900913d1e5 Move benchmark to relevant package. Added bench task 2016-03-12 13:03:08 +02:00
Vladimir Mihailenco 3f9a83634d Merge pull request #274 from go-redis/fix/go-standard-paths
Use go standard path for test data
2016-03-12 12:56:21 +02:00
Vladimir Mihailenco 7af992dd83 Merge pull request #276 from go-redis/fix/optimize-pool-remove
Optimize pool.Remove.
2016-03-12 12:56:13 +02:00
Vladimir Mihailenco fdd0fdf678 Optimize pool.Remove. 2016-03-12 12:41:02 +02:00
Dimitrij Denissenko e80f790e76 Use go standard path for test data 2016-03-12 10:25:59 +00:00
Vladimir Mihailenco 0d67a1f70f Merge pull request #273 from go-redis/fix/extract-pool-package
Extract pool package. Add pool benchmark.
2016-03-12 11:40:35 +02:00
Vladimir Mihailenco ad0739be99 Extract pool package. Add pool benchmark. 2016-03-12 10:52:13 +02:00
Vladimir Mihailenco aad45610b0 Merge pull request #271 from go-redis/fix/benchmark-against-redigo
More benchmarks.
2016-03-10 12:14:32 +02:00
Vladimir Mihailenco b90cea8e8d More benchmarks. 2016-03-10 11:23:03 +02:00
Vladimir Mihailenco eb78eedafe Merge pull request #268 from go-redis/fix/close-connection-on-network-timeout
Close connection on network timeout.
2016-03-09 15:28:25 +02:00
Vladimir Mihailenco 27635bbe4e Fix FailoverClient to close connection to Sentinel. Fixes races build. 2016-03-09 15:14:01 +02:00
Vladimir Mihailenco 0db1d730c8 Improve pool tests by verifying number of created connections. 2016-03-09 14:36:14 +02:00
Vladimir Mihailenco 4edc7a059c Fix race in tests. 2016-03-09 14:36:14 +02:00
Vladimir Mihailenco 673e999431 Close connection on network timeout. 2016-03-09 14:36:14 +02:00
Vladimir Mihailenco 0ea1bdd306 Merge pull request #269 from go-redis/fix/client-methods
Correct method accessors
2016-03-09 12:42:46 +02:00
Dimitrij Denissenko 9f40911f28 Correct method accessors 2016-03-09 09:49:05 +00:00
Vladimir Mihailenco 847e1270db Merge pull request #266 from go-redis/fix/error-format
Fix error formatting.
2016-03-08 16:17:45 +02:00
Vladimir Mihailenco d3f33b67b9 Fix error formatting. 2016-03-08 16:00:33 +02:00
Vladimir Mihailenco f7d4933032 Merge pull request #265 from go-redis/fix/cn-used-at
Set conn.UsedAt when connection is created. Fixes #263.
2016-03-04 14:56:54 +02:00
Vladimir Mihailenco 43aade818a Set conn.UsedAt when connection is created. Fixes #263. 2016-03-04 10:33:51 +02:00
Vladimir Mihailenco 7116858f67 Merge pull request #264 from go-redis/fix/used-at
Update conn.UsedAt on Read/Write. Fixes #263.
2016-03-02 14:46:27 +02:00
Vladimir Mihailenco 73ad84252c Use package logger. 2016-03-02 13:37:28 +02:00
Vladimir Mihailenco 78d40d5bd7 Update conn.UsedAt on Read/Write. Fixes #263. 2016-03-02 13:26:05 +02:00
Vladimir Mihailenco a4e4d1da06 Merge pull request #261 from go-redis/fix/simplify-sticky-conn-pool
Simplify connection management with sticky connection pool. Fixes #260.
2016-03-01 17:12:48 +02:00
Vladimir Mihailenco 6b369a317f Compare number approximatively. 2016-03-01 16:14:53 +02:00
Vladimir Mihailenco 9c261facce travis: test Go 1.6. 2016-03-01 14:14:43 +02:00
Vladimir Mihailenco 110e93a8e4 Simplify connection management with sticky connection pool. Fixes #260. 2016-03-01 14:12:25 +02:00
Vladimir Mihailenco 0382d1e980 Merge pull request #257 from go-redis/fix/use-uint32
Use uint32 because uint64 requires manual alignment on 386 arch. Fixes #256.
2016-02-18 12:55:49 +02:00
Vladimir Mihailenco e750d2b7e2 Use uint32 because uint64 requires manual alignment on 386 arch. Fixes #256. 2016-02-18 12:42:35 +02:00
Vladimir Mihailenco 298fdec445 Merge pull request #255 from go-redis/fix/logger-prefix
Add prefix to package logger.
2016-02-06 12:27:35 +02:00
Vladimir Mihailenco ebf51e1a1b Add prefix to package logger. 2016-02-06 12:16:09 +02:00
Vladimir Mihailenco 6dac5ea35c Merge pull request #254 from go-redis/fix/cluster-slots-id
Fix cluster slots parsing.
2016-02-06 12:07:15 +02:00
Vladimir Mihailenco 2b2a6805dd Fix cluster slots parsing. 2016-02-06 11:45:34 +02:00