Commit Graph

2408 Commits

Author SHA1 Message Date
Vladimir Mihailenco 55da68487f Fix PubSub example. Fixes #575 2017-07-01 13:42:26 +03:00
Vladimir Mihailenco 8860475391 Merge pull request #592 from go-redis/fix/vendor-syncutil-once
Vendor syncutil.Once
2017-07-01 13:10:51 +03:00
Vladimir Mihailenco 9dbcc5ae80 Vendor syncutil.Once 2017-07-01 12:51:46 +03:00
Vladimir Mihailenco efdbb32da3 Merge pull request #589 from go-redis/fix/avoid-cluster-loopback
Use node address instead of relying on loopback reported by redis
2017-07-01 12:48:58 +03:00
Dimitrij Denissenko 94ea195dc1 Use node address instead of relying on loopback reported by redis 2017-07-01 12:31:41 +03:00
Vladimir Mihailenco b52814fa17 Merge pull request #588 from go-redis/fix/sentinel-reset-pool
Resent client pool when sentinel switches master
2017-06-29 17:10:50 +03:00
Vladimir Mihailenco 0d94a7bc88 Fix race in PubSub 2017-06-29 17:09:52 +03:00
Vladimir Mihailenco fbc8000fd1 Resent client pool when sentinel switches master 2017-06-29 16:53:49 +03:00
Vladimir Mihailenco 75ceb983b7 Merge pull request #587 from go-redis/fix/pool-dial-errors
Gracefully handle situation when Redis Server is down
2017-06-29 14:52:51 +03:00
Vladimir Mihailenco 9cf5f251be Gracefully handle situation when Redis Server is down 2017-06-29 14:45:31 +03:00
Vladimir Mihailenco c8159532bc Merge pull request #586 from go-redis/fix/pool-fast-path
pool: add fast path
2017-06-29 13:24:08 +03:00
Vladimir Mihailenco 0a965c5d70 pool: add fast path 2017-06-29 12:54:49 +03:00
Vladimir Mihailenco 09f8a1b82b Merge pull request #585 from go-redis/fix/bigger-pool-size
Scale pool size with number of cores since Redis connections are cheap
2017-06-28 18:29:56 +03:00
Vladimir Mihailenco 9acf745faf Scale pool size with number of cores since Redis connections are cheap 2017-06-28 18:20:26 +03:00
Vladimir Mihailenco e14976b254 Merge pull request #580 from go-redis/fix/flush-db-async
Add FlushDBAsync and FlushAllAsync
2017-06-17 13:17:21 +03:00
Vladimir Mihailenco 9b8cd3e5a7 readme: add godoc badge 2017-06-17 13:01:40 +03:00
Vladimir Mihailenco f1ed2ad288 Add FlushDBAsync and FlushAllAsync 2017-06-17 12:53:16 +03:00
Vladimir Mihailenco 167410bcd7 Improve comment 2017-06-17 12:43:19 +03:00
Vladimir Mihailenco 1471ec2b0a Merge pull request #579 from go-redis/fix/cmd-info-race
Fix cmd info race. Fixes #578
2017-06-17 12:42:52 +03:00
Vladimir Mihailenco 5132e15c93 Fix cmd info race. Fixes #578 2017-06-17 12:34:39 +03:00
Vladimir Mihailenco eb066030c0 Merge pull request #577 from go-redis/fix/parse-url-example
Add ParseURL example
2017-06-09 14:11:43 +03:00
Vladimir Mihailenco 2dbe5a3d99 Add ParseURL example 2017-06-09 13:55:45 +03:00
Vladimir Mihailenco f29951c899 Speedup ScanSlice 2017-06-02 16:19:43 +03:00
Vladimir Mihailenco 3802e09b42 Simplify doc wording 2017-06-01 17:49:27 +03:00
Vladimir Mihailenco 663bb76bcc Merge pull request #573 from go-redis/fix/no-error-on-empty-pipeline
Don't return an error when pipeline is empty
2017-05-30 15:53:33 +03:00
Vladimir Mihailenco f60bce9166 Don't return an error when pipeline is empty 2017-05-30 15:45:36 +03:00
Vladimir Mihailenco ee42c3d5d3 Merge pull request #571 from go-redis/fix/on-connect
Fix/on connect
2017-05-26 14:56:40 +03:00
Vladimir Mihailenco 4a3a300665 Add Options.OnConnect 2017-05-26 14:56:18 +03:00
Jonathan Chan 406e882c43 Added backoff retry 2017-05-26 14:33:34 +03:00
Vladimir Mihailenco 7e8890b644 Embed Cmdable into StatefulCmdable 2017-05-25 13:38:04 +03:00
Vladimir Mihailenco 368f0ea0ba Cleanup tests 2017-05-24 15:53:41 +03:00
Vladimir Mihailenco 8403178174 Merge pull request #568 from go-redis/fix/script-hash
Add Script.Hash
2017-05-24 15:40:29 +03:00
Vladimir Mihailenco e3550dd65c Add Script.Hash 2017-05-24 15:24:47 +03:00
Vladimir Mihailenco 18c1db9466 Doc 2017-05-11 17:02:26 +03:00
Vladimir Mihailenco 84163af3c1 Merge branch 'master' of github.com:go-redis/redis 2017-05-09 12:54:27 +03:00
Vladimir Mihailenco 171eaf3331 Merge pull request #561 from go-redis/fix/cmd-name
Export Cmder.Name
2017-05-09 12:54:15 +03:00
Vladimir Mihailenco 6307b95039 Export Cmder.Name 2017-05-09 12:45:30 +03:00
Vladimir Mihailenco d371792f33 Merge branch 'master' of github.com:go-redis/redis 2017-05-03 17:14:08 +03:00
Vladimir Mihailenco 0232c510cb Merge pull request #558 from felipejfc/master
Client TxPipeline method should also return a Pipeliner
2017-05-03 17:13:54 +03:00
Felipe Cavalcanti 7379f211a4 Client TxPipeline method should also return a Pipeliner 2017-05-03 10:48:12 -03:00
Vladimir Mihailenco a30c3df996 Merge branch 'master' of github.com:go-redis/redis 2017-05-03 12:04:30 +03:00
Vladimir Mihailenco e1263fea7b Merge pull request #557 from felipejfc/master
pipeline now has its own interface "Pipeliner"
2017-05-03 12:04:13 +03:00
Felipe Cavalcanti 3f43c7448b add runtime type assertion 2017-05-02 12:41:42 -03:00
Felipe Cavalcanti eeb4d09198 rename Pipelineable to Pipeliner 2017-05-02 12:00:53 -03:00
Felipe Cavalcanti 6fca4d5ad0 pipeline now has its own interface "Pipelineable" 2017-05-01 12:42:58 -03:00
Vladimir Mihailenco 4c6e2ad9a0 Merge pull request #556 from nykolaslima/patch-1
Remove unnecessary code
2017-04-28 10:15:26 +03:00
Nykolas Laurentino de Lima bd29077241 Remove unnecessary code
Remove unnecessary if and return the value directly
2017-04-27 14:24:25 -03:00
Vladimir Mihailenco 5d95eaece6 Merge branch 'master' of github.com:go-redis/redis 2017-04-24 14:22:53 +03:00
Vladimir Mihailenco d0dd05b659 Merge pull request #554 from go-redis/fix/close-pubsub-conn
Fix/close pubsub conn
2017-04-24 14:22:38 +03:00
Vladimir Mihailenco 13b6f3ffb7 Fix conn management in PubSub 2017-04-24 14:06:27 +03:00