Commit Graph

721 Commits

Author SHA1 Message Date
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
Vladimir Mihailenco 255bb28996 Merge pull request #253 from fsouza/global-logger-issue-250
Declare and use a package-level Logger
2016-02-06 11:26:46 +02:00
Francisco Souza d3ee281748 Declare and use a package-level Logger
This allow users of the API to override the Logger. Fix #250.
2016-02-03 12:30:39 -05:00
Vladimir Mihailenco 538069c33f Merge pull request #248 from go-redis/fix/pool-stats-tweaks
Tweak pool stats.
2016-01-25 16:10:42 +02:00
Vladimir Mihailenco 6c7b789b3a Tweak pool stats. 2016-01-25 15:57:09 +02:00
Vladimir Mihailenco d2b13f523d Merge pull request #244 from anmic/feature/pool-metrics
Add pool instrumentation.
2016-01-25 15:47:06 +02:00
Vladimir Mihailenco 3f059e5c53 Merge pull request #247 from go-redis/fix/sort-nil-reply
Sort can return nil reply. Fixes #246.
2016-01-22 12:45:54 +02:00
Vladimir Mihailenco 3ed364e92a Sort can return nil reply. Fixes #246. 2016-01-22 12:29:23 +02:00
Anatolii Mihailenco f7a4bd5023 Add pool instrumentation. 2016-01-19 20:08:22 +02:00
Vladimir Mihailenco dd1ac33826 Merge pull request #239 from anmic/feature/info
commands.go: add section parameter to Info function.
2016-01-08 15:20:08 +02:00
Anatolii Mihailenco 602824623b commands.go: add section parameter to Info function. 2016-01-08 15:03:34 +02:00
Dimitrij Denissenko 0363b69248 Merge pull request #237 from go-redis/feature/mention-redis-lock
Mention distributed locks
2016-01-06 17:56:50 +00:00
Dimitrij Denissenko be6b602480 Mention distributed locks 2016-01-06 17:55:40 +00:00
Vladimir Mihailenco c510761c76 readme: add link to rate limiting package. 2016-01-04 12:40:28 +02:00
Vladimir Mihailenco 8a0be38c7e Merge pull request #232 from anmic/feature/hash-tags
Create hashtag package.
2015-12-31 16:36:17 +02:00
Anatolii Mihailenco 0bf3759a6d Create hashtag package. 2015-12-31 16:25:20 +02:00
Vladimir Mihailenco aa0a9697d8 Merge pull request #234 from go-redis/fix/psubscribe-test
pubsub: add PSubscribe test. Updates #233.
2015-12-31 11:45:00 +02:00
Vladimir Mihailenco 1739cd9380 pubsub: add PSubscribe test. Updates #233. 2015-12-31 11:27:28 +02:00
Vladimir Mihailenco d226168576 Merge pull request #233 from Freeaqingme/master
Bugfix: pubsub/psubscribe should register a pattern rather than channel
2015-12-31 11:17:58 +02:00
Dolf Schimmel (Freeaqingme) 84cd769290 Merge branch 'master' of github.com:Freeaqingme/go-redis into HEAD 2015-12-31 00:43:42 +01:00
Dolf Schimmel (Freeaqingme) 6eec22a5e5 Bugfix: pubsub/psubscribe should register a pattern rather than channel 2015-12-31 00:43:28 +01:00
Vladimir Mihailenco edae11bd9f Merge pull request #231 from anmic/feature/cluster
Feature/cluster
2015-12-30 14:17:44 +02:00
Anatolii Mihailenco cbc5360e78 commands.go: Add new functions to cluster. 2015-12-30 14:06:21 +02:00
Vladimir Mihailenco 6e8bc40d65 Merge pull request #230 from anmic/feature/cluster-key-slot
commands.go: Add ClusterKeySlot function.
2015-12-30 12:33:06 +02:00
Anatolii Mihailenco 9b1148903e commands.go: Add ClusterKeySlot function. 2015-12-28 19:29:02 +02:00
Vladimir Mihailenco 8319126d93 Merge pull request #228 from go-redis/fix/better-rate-limited-message
Better rate limited message.
2015-12-24 11:03:48 +02:00
Vladimir Mihailenco bdb48fd31c Merge pull request #229 from hongrich/pfcount-multiple-keys
Support multiple keys for the PFCOUNT command
2015-12-24 11:03:19 +02:00