Commit Graph

1604 Commits

Author SHA1 Message Date
Vladimir Mihailenco 742f3ccb21
Merge pull request #1114 from go-redis/fix/pool-single
Add proper SingleConnPool implementation
2019-08-03 17:48:25 +03:00
Vladimir Mihailenco 4e9cea8876 Add proper SingleConnPool implementation 2019-08-03 17:31:28 +03:00
Vladimir Mihailenco d6a99e7be3
Merge pull request #1112 from patrickwhite256/master
Close single conn connection pool
2019-08-03 17:17:52 +03:00
Patrick White efa4a78883 Close single conn connection pool 2019-08-01 14:59:53 -07:00
Vladimir Mihailenco 0cf98f9217
Merge pull request #1110 from kollektiv/dial-context
Use DialContext by default
2019-07-31 10:58:11 +03:00
Timothy Yen 0ecf16e773 Options: Use DialContext by default
Use net.Dialer DialContext by default because go-redis supports
contexts.

Resolves #1101
2019-07-30 13:03:41 -07:00
Vladimir Mihailenco e58b0108b1
Merge pull request #1108 from go-redis/fix/sleep-context
Cancel sleep when context is cancelled
2019-07-30 12:37:28 +03:00
Vladimir Mihailenco c837612911 Cancel sleep when context is cancelled 2019-07-30 12:13:00 +03:00
Vladimir Mihailenco 6d8db67ef5 Cleanup 2019-07-28 10:53:40 +03:00
waterandair 6cd6cd828f protect pollSize and idleConnsLen with mutex (#1105)
Fix poolSize and idleConnsLen when conn can't be created
2019-07-28 09:56:57 +03:00
Vladimir Mihailenco d190c8191e
Merge pull request #1106 from go-redis/fix/bytes-unsafe
Use unsafe StringToBytes to speedup StringCmd.Bytes
2019-07-27 17:14:01 +03:00
Vladimir Mihailenco f76700581d Use unsafe StringToBytes to speedup StringCmd.Bytes 2019-07-27 16:40:31 +03:00
Vladimir Mihailenco ec312e4dd5
Merge pull request #1104 from go-redis/fix/golangci-lint
Add golangci-lint
2019-07-25 15:01:16 +03:00
Vladimir Mihailenco f3ce3362a0 Add golangci-lint 2019-07-25 14:36:50 +03:00
Vladimir Mihailenco 9228e88887
Merge pull request #1103 from go-redis/fix/pipeline-propagate-ctx
Propagate context in Pipeline
2019-07-25 13:51:56 +03:00
Vladimir Mihailenco 52ec525849 Propagate context in Pipeline 2019-07-25 13:28:15 +03:00
Vladimir Mihailenco 802fee4577
Merge pull request #1102 from go-redis/fix/time-helper
Marshal time as RFC3339. Add StringCmd.Time helper.
2019-07-25 13:26:36 +03:00
Vladimir Mihailenco 0e7fb3b12d Marshal time as RFC3339. Add StringCmd.Time helper. 2019-07-25 13:03:09 +03:00
Vladimir Mihailenco 6bc7daa5b1
Merge pull request #1094 from go-redis/feature/ring-tx-pipeline
Implement TxPipeline for Ring
2019-07-19 12:21:55 +03:00
Vladimir Mihailenco 9d9e126af0 Implement TxPipeline for Ring 2019-07-19 12:00:11 +03:00
Vladimir Mihailenco fb642fe859
Merge pull request #1093 from sjindal995/master
Making LpushX and RpushX variadic
2019-07-18 18:21:16 +03:00
sjindal995 87ea8a4220 remove mandatory arg value in lpushx and rpushx 2019-07-18 17:23:05 +05:30
sjindal995 5c3de7537a Making LpushX and RpushX variadic 2019-07-18 16:48:09 +05:30
Vladimir Mihailenco 94359d94c1
Merge pull request #1087 from mbenford/individual-passwords-ring
Add support for individual passwords for ring shards
2019-07-18 10:34:38 +03:00
Michael Benford 9169633580 Add support for individual passwords for ring shards 2019-07-17 11:31:42 -03:00
Vladimir Mihailenco 850dea52a1
Merge pull request #1088 from go-redis/fix/tweak-hooks
Don't return a context from After* hooks
2019-07-11 12:27:27 +03:00
Vladimir Mihailenco 9fd4e69ce4 Don't return a context from After* hooks 2019-07-11 11:58:46 +03:00
Vladimir Mihailenco 8315cd06b3
Merge pull request #1075 from go-redis/fix/chan-interface
Change PubSub.Channel
2019-07-09 11:08:03 +03:00
Vladimir Mihailenco 11ef80b162 Change PubSub.Channel 2019-07-09 10:25:27 +03:00
Vladimir Mihailenco 5a3e8ba7f6
Merge pull request #1086 from go-redis/fix/hooks-after-process
Call all After* hooks and return first error
2019-07-09 10:19:04 +03:00
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