Commit Graph

2047 Commits

Author SHA1 Message Date
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
Vladimir Mihailenco c208a17dfc Handle -1 in DurationCmd 2019-05-31 13:19:39 +03:00
Vladimir Mihailenco 458982a440
Merge pull request #1034 from go-redis/fix/pipeline-make-node-as-loading
Mark node as loading in Cluster pipeline read
2019-05-30 17:39:20 +03:00
Vladimir Mihailenco 6238b8d4b7 Mark node as loading in Cluster pipeline read 2019-05-30 17:17:27 +03:00
Vladimir Mihailenco e7f788704f
Merge pull request #1035 from timvaillancourt/add-sentinel-ping-remove-monitor
Add SentinelClient Ping, Monitor, Remove and Set funcs
2019-05-26 08:49:28 +03:00
Tim Vaillancourt bd3a783a25 Shorten comments 2019-05-25 22:58:27 +02:00
Tim Vaillancourt 0138bc167a merge 2019-05-25 22:56:26 +02:00
Tim Vaillancourt fc8c05a674
Add Sentinel .Ping(), .Set(), .Monitor() and .Delete() 2019-05-25 22:54:40 +02:00
Tim Vaillancourt 0ffcfc31f5 Sync with upstream/master 2019-05-25 22:31:06 +02:00
Vladimir Mihailenco 857fbcc4b3
Merge pull request #1033 from timvaillancourt/additional-sentinel-funcs
Add .Master(), .Slaves() and .CkQuorum() funcs for Sentinel
2019-05-25 17:49:02 +03:00
Tim Vaillancourt 2ff1db24a2
Add .Master(), .Slaves() and .CkQuorum() funcs for Sentinel 2019-05-25 15:22:14 +02:00
Vladimir Mihailenco 75795aa423
Merge pull request #1000 from kassiansun/master
Add go.mod and go.sum
2019-05-03 11:29:31 +03:00
Andrea Spacca 97e6ed8178 Ring instrumentantions (#1017)
* Ring instrumentantions
2019-04-24 09:33:36 +03:00
Vladimir Mihailenco 3227091087 Fix link 2019-04-22 16:57:58 +03:00
Vladimir Mihailenco a46b053aa6 More granular locking 2019-04-22 12:50:13 +03:00
Andrea Spacca be4c4f3f38 Ring Watch (#1015)
* Ring Watch
2019-04-22 12:48:06 +03:00
Vladimir Mihailenco 721116ac0e
Merge pull request #1014 from nnimo/pubsub-panic-fix
fix pubsub panic on redis reload
2019-04-19 18:10:12 +03:00
Нимо 0f8e53e874 fix pubsub panic on redis reload 2019-04-18 19:06:16 +03:00
Vladimir Mihailenco 3f9b4d7004
Merge pull request #1012 from sosiska/patch-1
Some code improvements
2019-04-18 11:47:09 +03:00
Kirill Motkov eca4e5d04c Some code improvements
* Rewrite if-else chain as a switch.
* Rewrite switch statement with only one case as if.
* Remove always true condition.
* Simplify some functions.
2019-04-17 16:14:30 +03:00
Vladimir Mihailenco 6b2a39a436
Merge pull request #1011 from aspacca/master
Added WrapProcessPipeline to UniversalClient, wrap c.processTxPipelin…
2019-04-14 12:15:48 +03:00
Andrea Spacca 9d63d8db54 Added WrapProcessPipeline to UniversalClient, wrap c.processTxPipeline in cluster client 2019-04-14 10:56:15 +02:00
Vladimir Mihailenco cb1c190bed
Merge pull request #1010 from kak-tus/pipe_timeouts
Add comments about pipeline technique.
2019-04-13 12:39:01 +03:00
Andrey Kuzmin 4f66c5f32b Move comment to Pipeliner interface.
To remove all text copies.
2019-04-12 15:08:00 +03:00
Andrey Kuzmin d7b83274b7 Add comments about pipeline technique.
Notes about it's usage in case of big pipelines and low read/write timeouts.
2019-04-12 12:52:10 +03:00
Vladimir Mihailenco 292bdd8230
Merge pull request #1009 from go-redis/fix/float32-helper
Add Float32 helper
2019-04-10 16:25:47 +03:00
sam-ke 94ec556725 Add Float32 helper 2019-04-10 15:31:43 +03:00
Vladimir Mihailenco 2f1ad94a2a
Merge pull request #1006 from francoispqt/patch-1
Typo error in comments
2019-04-08 15:14:23 +03:00