Commit Graph

2077 Commits

Author SHA1 Message Date
Vladimir Mihailenco e694ed0084 Cleanup 2019-08-18 17:11:07 +03:00
Vladimir Mihailenco e471faf7f8
Merge pull request #1132 from go-redis/fix/deadline-error
internal: return an error on setting deadline
2019-08-16 18:16:26 +03:00
Vladimir Mihailenco eaeb8f2a08 internal: return an error on setting deadline 2019-08-16 17:50:57 +03:00
Vladimir Mihailenco d02c6f40dc
Merge pull request #1129 from go-redis/fix/strict-read-line
internal/proto: use strict ReadLine
2019-08-14 11:46:06 +03:00
Vladimir Mihailenco e269de20cf internal/proto: use strict ReadLine 2019-08-14 11:14:50 +03:00
Vladimir Mihailenco 61e0d1d527 internal/proto: util util.Atoi 2019-08-14 10:24:13 +03:00
Vladimir Mihailenco d22f03ecbc
Merge pull request #1121 from go-redis/fix/retyr-process
Retry timeout by default
2019-08-12 16:00:26 +03:00
Vladimir Mihailenco 39b67358d7 Retry timeout by default 2019-08-12 15:20:27 +03:00
Vladimir Mihailenco f6fc23d2fa Move key to ZStore 2019-08-09 16:23:56 +03:00
Vladimir Mihailenco 22465b7530
Merge pull request #1119 from go-redis/fix/geo-radious-store
Add writing version of GeoRadius commands
2019-08-09 15:50:04 +03:00
Vladimir Mihailenco 4d3ed95bd9 Add conn health check 2019-08-09 15:11:52 +03:00
Vladimir Mihailenco 191391d66d Add writing version of GeoRadius commands 2019-08-09 15:04:56 +03:00
Vladimir Mihailenco 40a478a654
Merge pull request #1118 from go-redis/fix/cleanup-process
Add withConn and set cmd errors more consistently
2019-08-09 14:26:01 +03:00
Vladimir Mihailenco 2a46cb006d Add withConn and set cmd errors more consistently 2019-08-09 13:53:05 +03:00
Vladimir Mihailenco 178deea321
Merge pull request #1117 from go-redis/fix/go-mod-v7
Use semantic import versioning
2019-08-08 14:57:06 +03:00
Vladimir Mihailenco 7779accbea Use semantic import versioning 2019-08-08 14:29:44 +03:00
Vladimir Mihailenco 87225c1cf9 malign struct fields 2019-08-08 14:22:01 +03:00
Vladimir Mihailenco e0fed4d581 Remove atomic.Value.Store(nil) 2019-08-08 14:04:19 +03:00
Vladimir Mihailenco 3ad2955728
Merge pull request #1116 from go-redis/feature/retry-init-conn
Feature/retry init conn
2019-08-08 13:46:23 +03:00
Vladimir Mihailenco 48224a399f Remove releaseConnStrict 2019-08-08 11:44:55 +03:00
Vladimir Mihailenco 2927e15b6b Retry BadConnError 2019-08-08 11:44:55 +03:00
Vladimir Mihailenco 056ad27792 Cleanup 2019-08-07 16:57:48 +03:00
Vladimir Mihailenco 27f3b27893 Fix names 2019-08-07 16:12:01 +03:00
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