Commit Graph

737 Commits

Author SHA1 Message Date
Vladimir Mihailenco 4ba635e15f Add func doc. 2016-12-16 14:19:53 +02:00
Vladimir Mihailenco 152cc1ee34 Merge pull request #444 from go-redis/feature/tx-pipeline
Add TxPipeline.
2016-12-16 11:40:46 +02:00
Vladimir Mihailenco 865d501d07 Add TxPipeline. 2016-12-16 11:25:58 +02:00
Vladimir Mihailenco ca08dfb44b Merge pull request #447 from go-redis/fix/script-interface
Check that clients implement scripter interface.
2016-12-14 12:23:40 +02:00
Vladimir Mihailenco 34122bffa8 Check that clients implement scripter interface. 2016-12-14 12:12:50 +02:00
Vladimir Mihailenco c6acf2ed15 Merge pull request #443 from go-redis/fix/cluster-nil-ptr
Fix nil ptr in case when all nodes are unavailable.
2016-12-12 17:42:18 +02:00
Vladimir Mihailenco c7dfbb54af Fix nil ptr in case when all nodes are unavailable. 2016-12-12 17:30:08 +02:00
Vladimir Mihailenco 7f2a0bff84 Merge pull request #440 from go-redis/fix/cmd-info-check
Simplify cmdInfo check.
2016-12-09 16:02:40 +02:00
Vladimir Mihailenco 420337dc4a Simplify cmdInfo check. 2016-12-09 15:52:36 +02:00
Vladimir Mihailenco 4ce47a025f Merge pull request #438 from rayzyar/cmdInfoNil
fix cmdInfo nil pointer panic
2016-12-09 15:51:33 +02:00
Vladimir Mihailenco 30be278fea Merge pull request #439 from rayzyar/evalShaFirstKey
evalsha with 0 key should return -1 pos
2016-12-09 15:50:34 +02:00
zezhou.yu fb584d25db
fix cmdInfo nil pointer panic 2016-12-08 01:34:22 +08:00
zezhou.yu e916395f6c
evalsha with 0 key should return -1 pos 2016-12-08 01:29:17 +08:00
Vladimir Mihailenco 854c88a72c Merge pull request #434 from go-redis/fix/timeouts
Set read/write timeouts more consistently.
2016-12-03 17:45:52 +02:00
Vladimir Mihailenco b4efc45f1c Set read/write timeouts more consistently. 2016-12-03 17:30:13 +02:00
Vladimir Mihailenco e7f23a300b Merge pull request #431 from go-redis/fix/instrum-example
Fix WrapProcess for Ring and Cluster. Add better example.
2016-11-30 13:06:44 +02:00
Vladimir Mihailenco 82f21639bf Fix WrapProcess for Ring and Cluster. Add better example. 2016-11-30 13:00:53 +02:00
Vladimir Mihailenco b148c1afd3 Merge pull request #428 from nathan-jones/readme-typo
Fixed Readme typo ZRangeBy
2016-11-28 14:03:22 +02:00
Nathan Jones 2fb4a785f3 Fixed Readme typo ZRangeBy 2016-11-27 12:27:58 +00:00
Vladimir Mihailenco ecc6a4909b Merge pull request #427 from go-redis/fix/instrumentation-example
Add instrumentation example.
2016-11-26 11:09:03 +02:00
Vladimir Mihailenco d4a3b1f282 Add instrumentation example. 2016-11-26 10:33:06 +02:00
Vladimir Mihailenco f8ad82370f Merge pull request #423 from go-redis/fix/string-command
Use string val in StringCmd.
2016-11-20 10:07:49 +02:00
Vladimir Mihailenco a20665f042 Use string val in StringCmd. 2016-11-20 09:50:49 +02:00
Vladimir Mihailenco c985686167 Merge pull request #418 from go-redis/fix/limit-alloc
Limit allocation.
2016-11-19 14:14:48 +02:00
Vladimir Mihailenco d3f9a9f91c Merge pull request #420 from freeformz/rediss
Add support for parsing redis:// and rediss:// URLs
2016-11-19 14:13:30 +02:00
Edward Muller df2009821f Default to secure
I suspect that many people will need InsecureSkipVerify:true though, but
that should be an explicit decision to expose security issues instead of
papering over them.
2016-11-16 10:35:35 -08:00
Edward Muller 4aa583b6f8 Updates based on PR feedback 2016-11-15 10:27:20 -08:00
Edward Muller 70eddf606d Place these tests behind a build tag
Sub test support doesn't work for go < 1.7
2016-11-14 09:40:12 -08:00
Edward Muller 019ff6eb38 Add support for parsing redis:// and rediss:// URLs
This includes setting up a default dialer that handles the ssl
handshake.
2016-11-14 08:50:05 -08:00
Vladimir Mihailenco 62cd3b38ef Limit allocation. 2016-11-09 10:13:03 +02:00
Vladimir Mihailenco b6bfe529a8 Merge pull request #416 from go-redis/fix/cluster-state
Use consistent cluster state when executing pipeline.
2016-11-08 12:04:23 +02:00
Vladimir Mihailenco 6324604106 Merge pull request #415 from go-redis/fix/govet
travis: run go vet
2016-11-08 11:50:33 +02:00
Vladimir Mihailenco 83208a1d9b Use consistent cluster state when executing pipeline. 2016-11-08 11:46:44 +02:00
Vladimir Mihailenco ae523dd552 travis: run go vet 2016-11-06 13:37:23 +02:00
Vladimir Mihailenco 80cf5d1652 Merge pull request #409 from bpiddubnyi/bugfix/setxx-zero-ex
Fix "invalid expire time in set" for SetXX with expiration = 0
2016-10-24 12:52:32 +03:00
Borys Piddubnyi cb63f1fd69 Add test for SetXX with expiration = 0 2016-10-21 17:14:51 +03:00
Borys Piddubnyi 50f1aff778 Fix "invalid expire time in set" for SetXX with expiration = 0 2016-10-21 15:40:53 +03:00
Vladimir Mihailenco 084336d5eb Merge pull request #407 from go-redis/fix/time-cmd
Fix/time cmd
2016-10-14 14:50:30 +03:00
Vladimir Mihailenco 3996289fe2 internal/proto: use read prefix to indicate that method reads from the stream. 2016-10-14 14:46:35 +03:00
Vladimir Mihailenco dcdf129dd5 Add TimeCmd. 2016-10-14 14:39:02 +03:00
Vladimir Mihailenco 6f8957c5b7 Update changelog. 2016-10-14 14:21:25 +03:00
Vladimir Mihailenco 24aa071f7c Merge pull request #406 from go-redis/fix/cmd-name-lowercase
Lowercase command name.
2016-10-14 10:42:20 +03:00
Vladimir Mihailenco a65b760eec Lowercase command name. 2016-10-14 10:37:30 +03:00
Vladimir Mihailenco 11137670ac Merge pull request #403 from go-redis/fix/rewrite-tx-using-pipeline
Refactor Tx using Pipeline to implement Cmdable interface.
2016-10-13 14:59:25 +03:00
Vladimir Mihailenco 20bc3ec5a6 Refactor Tx using Pipeline to implement Cmdable interface. 2016-10-13 14:36:15 +03:00
Vladimir Mihailenco 3490ff5d21 Merge pull request #402 from go-redis/fix/retry-multi-cmds-conservatively
Retry multiple commands more conservatively.
2016-10-13 14:05:44 +03:00
Vladimir Mihailenco 8558a92fa4 Retry multiple commands more conservatively. 2016-10-13 13:56:24 +03:00
Vladimir Mihailenco 589757464f Merge pull request #401 from go-redis/fix/simplify-sync
Simplify sync in pipeline.
2016-10-13 12:32:51 +03:00
Vladimir Mihailenco 8d2fb6e09b Simplify sync in pipeline. 2016-10-13 12:11:58 +03:00
Vladimir Mihailenco 21cae7f9ab Merge pull request #400 from yyoshiki41/refactor/cluster
simplify if condition
2016-10-13 12:10:37 +03:00