Commit Graph

1695 Commits

Author SHA1 Message Date
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
Vladimir Mihailenco 59d94967b6 Fix conn management in PubSub 2017-04-24 14:00:28 +03:00
Vladimir Mihailenco 9abfbff156 Merge pull request #553 from go-redis/fix/cleanup-put-conn
Cleanup putConn
2017-04-24 13:57:03 +03:00
Vladimir Mihailenco 9ebd89772a Rework PubSub conn management 2017-04-24 13:41:03 +03:00
Vladimir Mihailenco 2528e7a712 Merge pull request #552 from paulzhol/master
Fix typo in ClusterClient.TxPipelined()
2017-04-22 11:28:27 +03:00
Yuval Pavel Zholkover 8c21ec0006 Fix typo in ClusterClient.TxPipelined()
It should be using ClusterClient.TxPipeline() and not ClusterClient.Pipeline().
2017-04-21 15:50:32 +03:00
Vladimir Mihailenco 15786cf821 Merge pull request #551 from go-redis/fix/init-pubsub
Initialize PubSub connection
2017-04-18 13:21:38 +03:00
Vladimir Mihailenco 7646d48e29 Initialize PubSub connection 2017-04-18 13:12:38 +03:00
Vladimir Mihailenco 4fdc3bb9f9 Merge pull request #549 from go-redis/fix/pubsub-out-of-pool
PubSub conns don't share connection pool limit
2017-04-17 17:07:07 +03:00
Vladimir Mihailenco 191f839e81 Fix race between Subscribe and resubscribe 2017-04-17 17:00:20 +03:00
Vladimir Mihailenco 6499563e07 PubSub conns don't share connection pool limit 2017-04-17 16:59:56 +03:00
Vladimir Mihailenco aeb22d6a37 Merge pull request #548 from flisky/master
doc: update more Options default value
2017-04-17 16:01:19 +03:00
Yin Jifeng 66e06285b2 doc: update more Options default value 2017-04-17 19:30:05 +08:00
Vladimir Mihailenco 00cb257bb4 Merge pull request #547 from flisky/master
doc: mismatched IdleTimeout default value
2017-04-17 12:59:03 +03:00