Commit Graph

1474 Commits

Author SHA1 Message Date
Vladimir Mihailenco e3bb77e6eb Call all After* hooks and return first error 2019-07-09 10:02:40 +03:00
Vladimir Mihailenco 4bb1faed5d
Merge pull request #1084 from amrmahdi/amrh/NewZWithKeyCmdResult
Add NewZWithKeyCmdResult to initialize ZWithKeyCmd for testing
2019-07-08 09:54:42 +03:00
Amr Hanafi (MAHDI)) 03eeba66c1 Add NewZWithKeyCmdResult to initialize ZWithKeyCmd for testing 2019-07-07 14:47:18 -07:00
Vladimir Mihailenco 69cf7e5f6f
Merge pull request #1080 from go-redis/fix/context-clone
Fix WithContext and add tests
2019-07-04 12:59:36 +03:00
Vladimir Mihailenco 2cbb5194fb Fix WithContext and add tests 2019-07-04 11:57:54 +03:00
Vladimir Mihailenco 73d3c18522
Merge pull request #1073 from go-redis/fix/failover-dialer-when-available
Use Dialer in Sentinel failover when available
2019-06-29 12:53:26 +03:00
Vladimir Mihailenco cdfe26b83c Use Dialer in Sentinel failover when available 2019-06-29 12:19:30 +03:00
Vladimir Mihailenco 056d737e55
Merge pull request #1072 from go-redis/fix/cmds-info-get-or-create
Fix cmdsInfo to create node
2019-06-29 10:53:21 +03:00
Vladimir Mihailenco fa479814de Fix cmdsInfo to create node 2019-06-29 10:28:33 +03:00
Vladimir Mihailenco a28bb0bd25
Merge pull request #1068 from go-redis/fix/bit-field-basic
Add basic BITFIELD support
2019-06-26 15:34:11 +03:00
Vladimir Mihailenco bbe0a59db3 Add basic BITFIELD support 2019-06-26 15:06:43 +03:00
Vladimir Mihailenco 4a3dbb3251 readme: update redislock link 2019-06-25 15:39:33 +03:00
Vladimir Mihailenco 8558c82c48
Merge pull request #1065 from go-redis/fix/inc-stale-conns
Inc StaleConns in ReapStaleConns
2019-06-24 15:47:29 +03:00
Vladimir Mihailenco 717362d3e9 Inc StaleConns in ReapStaleConns 2019-06-24 15:27:03 +03:00
Vladimir Mihailenco fa2f6ee00b
Merge pull request #1056 from go-redis/fix/do-not-use-random-node
Use master / another slave node when current node is failing
2019-06-19 11:02:25 +03:00
Vladimir Mihailenco 7a300ac6eb
Merge pull request #1060 from go-redis/fix/cleanup-code
Cleanup
2019-06-17 13:04:50 +03:00
Vladimir Mihailenco 3bdf64784a Cleanup 2019-06-17 12:32:40 +03:00
Vladimir Mihailenco 8cc316035b Add GinkgoRecover 2019-06-16 14:47:24 +03:00
Vladimir Mihailenco 5b3e40b336
Merge pull request #1058 from go-redis/fix/panic-multi-bulk-parser
Don't panic if multi bulk parser is nil
2019-06-16 14:37:30 +03:00
Vladimir Mihailenco 1cc1ba9990 Use master / another slave node when current node is failing 2019-06-16 14:10:09 +03:00
Vladimir Mihailenco 246d502457 Don't panic if multi bulk parser is nil 2019-06-16 14:06:13 +03:00
Vladimir Mihailenco aa5f492665 internal/pool: cleanup 2019-06-15 10:34:38 +03:00
Vladimir Mihailenco d264eb8e81
Merge pull request #1051 from go-redis/fix/context-min-nonzero-time
internal/pool: use min nonzero deadline
2019-06-14 16:00:28 +03:00
Vladimir Mihailenco 880e05d975 Cleanup 2019-06-14 16:00:03 +03:00
Vladimir Mihailenco c0e70ad31d internal/pool: use min nonzero deadline 2019-06-14 14:50:58 +03:00
Vladimir Mihailenco f8704e4b6b Cleanup 2019-06-09 12:29:23 +03:00
Vladimir Mihailenco 3d8a511ecc Update changelog 2019-06-08 16:14:15 +03:00
Vladimir Mihailenco d7ac7cdcab
Merge pull request #1048 from go-redis/fix/ctx-conde
Check context.Done while waiting for a connection
2019-06-08 16:08:58 +03:00
Vladimir Mihailenco 35932b7961 Check context.Done while waiting for a connection 2019-06-08 15:36:00 +03:00
Vladimir Mihailenco 530e66a66e
Merge pull request #1047 from go-redis/fix/context-deadline
Use Context.Deadline to set net.Conn deadline
2019-06-08 15:34:34 +03:00
Vladimir Mihailenco 5460bc10f2 Use Context.Deadline to set net.Conn deadline 2019-06-08 15:02:51 +03:00
Vladimir Mihailenco 4fe609d47c
Merge pull request #1046 from go-redis/fix/dialer-context
Pass context to Dialer
2019-06-08 14:30:20 +03:00
Vladimir Mihailenco 53c8a4a6b7 Pass context to Dialer 2019-06-04 14:26:26 +03:00
Vladimir Mihailenco 9dba04507e
Merge pull request #1043 from ramonberrutti/sentinel_password
add option for sentinel password
2019-06-04 13:57:50 +03:00
Vladimir Mihailenco c41450a08f
Merge pull request #1045 from go-redis/fix/extend-context
Allow passing context where possible
2019-06-04 13:54:14 +03:00
Vladimir Mihailenco b29f110291 Cleanup readme 2019-06-04 13:32:54 +03:00
Vladimir Mihailenco 09eb108738 Allow passing context where possible 2019-06-04 13:30:47 +03:00
Vladimir Mihailenco 3da4357c0c Pass network and addr to dialer 2019-06-04 12:40:36 +03:00
Ramón Berrutti c6e879efe2
add option for sentinel password 2019-06-02 13:27:33 -03:00
Vladimir Mihailenco 90febb9820
Merge pull request #1041 from go-redis/fix/go111-module
Rely on GO111MODULE
2019-06-01 13:00:05 +03:00
Vladimir Mihailenco 92c6d13332 Rely on GO111MODULE 2019-06-01 12:41:47 +03:00
Vladimir Mihailenco 17480c545e
Merge pull request #1040 from go-redis/feature/hook-new
Feature/hook new
2019-06-01 11:50:49 +03:00
Vladimir Mihailenco 6c72dc807e internal/pool: replace atomic.Value with int64 2019-06-01 11:32:05 +03:00
Vladimir Mihailenco 7a91ed0df5 Add AddHook to UniversalClient 2019-05-31 17:40:47 +03:00
Vladimir Mihailenco 43fdab312a Update changelog 2019-05-31 17:37:34 +03:00
Vladimir Mihailenco 84422d7ae7 Speedup WithContext 2019-05-31 17:31:54 +03:00
Vladimir Mihailenco 8476dfea4a Replace Wrap* with hooks that support context 2019-05-31 16:36:57 +03:00
Vladimir Mihailenco c6b800e266
Merge pull request #1039 from go-redis/fix/ttl-1
Handle -1 in DurationCmd
2019-05-31 13:45:52 +03:00
Vladimir Mihailenco b902746d7b DB is int 2019-05-31 13:24:21 +03:00
Vladimir Mihailenco 685d8922de Pass pointers where it makes sense 2019-05-31 13:24:21 +03:00