Vladimir Mihailenco
|
9e4063ab5a
|
Add redis prefix to errors
|
2020-09-28 15:29:35 +03:00 |
Roman Suvorov
|
d31cf6c328
|
Add unix socket connection by url stirng. (#1511)
* add unix connectin by url string
|
2020-09-28 15:26:08 +03:00 |
Vladimir Mihailenco
|
b657760cca
|
Tweak number of retries
|
2020-09-11 12:13:27 +03:00 |
Vladimir Mihailenco
|
690d9a94f3
|
Rename SlowLog to SlowLogGet
|
2020-09-09 18:09:26 +03:00 |
Vladimir Mihailenco
|
a722cde148
|
Remove ClusterClient failover tests
|
2020-09-05 12:16:08 +03:00 |
Martin Mlynář
|
49aac99f9d
|
FailoverClient with read-only support (#1199)
* FailoverClient with read-only support
|
2020-09-04 12:54:06 +03:00 |
Andrew Suffield
|
ea78cc7d7e
|
add more trace details to dialer spans
|
2020-08-26 12:24:45 +01:00 |
lsytj0413
|
d184d958d7
|
feat(option): default dialtimeout take effect when dialer is nil
|
2020-07-21 15:18:36 +08:00 |
Vladimir Mihailenco
|
888328aef2
|
Set Ring.Username
|
2020-06-12 09:28:14 +03:00 |
Vladimir Mihailenco
|
ef82e3705c
|
Add OnConnect context
|
2020-06-10 10:36:22 +03:00 |
Vladimir Mihailenco
|
4440575966
|
Merge branch 'v8'
|
2020-05-21 10:16:44 +03:00 |
filipe oliveira
|
cf6cf7f450
|
Add AuthACL
|
2020-05-21 08:59:51 +03:00 |
Vladimir Mihailenco
|
3dcb844106
|
Bump major version
|
2020-05-19 08:52:38 +03:00 |
Vladimir Mihailenco
|
f5593121e0
|
Add ctx as first arg
|
2020-05-19 08:52:38 +03:00 |
Vladimir Mihailenco
|
d2e52839ee
|
Add WithTimeout
|
2020-02-02 14:59:27 +02:00 |
Vladimir Mihailenco
|
45de1c42ae
|
Set error on the commands in case there are no more attempts left
|
2020-02-02 14:17:14 +02:00 |
Vladimir Mihailenco
|
db45a825cc
|
Remove SetLimiter
|
2020-02-02 11:09:27 +02:00 |
Alexander A. Klimov
|
4cb8d0f0af
|
Options#init(): auto-detect *nix socket address
|
2019-09-23 13:58:50 +02:00 |
Vladimir Mihailenco
|
0c4c236793
|
Add RingOptions.OnNewShard
|
2019-08-23 14:46:40 +03:00 |
Vladimir Mihailenco
|
e694ed0084
|
Cleanup
|
2019-08-18 17:11:07 +03:00 |
Vladimir Mihailenco
|
7779accbea
|
Use semantic import versioning
|
2019-08-08 14:29:44 +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
|
f3ce3362a0
|
Add golangci-lint
|
2019-07-25 14:36:50 +03:00 |
Vladimir Mihailenco
|
53c8a4a6b7
|
Pass context to Dialer
|
2019-06-04 14:26:26 +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 |
mingrammer
|
c9fed25a60
|
Support default redis address
|
2019-01-13 17:36:38 +09:00 |
Vladimir Mihailenco
|
5d8c5c5c37
|
Add Limiter interface
|
2018-11-29 09:52:49 +02:00 |
andriikushch
|
b834145dc7
|
Add test for read timeout option (#877)
Add test for ReadTimeout option
|
2018-10-05 09:46:29 +03:00 |
Vladimir Mihailenco
|
651e9fef1d
|
Add MaxConnAge
|
2018-08-12 10:25:16 +03:00 |
Vladimir Mihailenco
|
25bf3e79e5
|
Add MinIdleConns
|
2018-08-12 08:34:06 +03:00 |
Vladimir Mihailenco
|
4bf8b5a128
|
Enable keep-alive by default
|
2018-07-24 10:26:28 +03:00 |
josh-tepper
|
8c513f1b88
|
Estab TLS connections + Handshake should respect DialTimeout
|
2018-06-27 19:34:47 -04:00 |
Vladimir Mihailenco
|
e693227e84
|
Tweak doc
|
2018-06-11 13:26:24 +03:00 |
Vladimir Mihailenco
|
faf5666fbd
|
Cleanup pool
|
2018-05-29 17:29:47 +03:00 |
Vladimir Mihailenco
|
09176ef4fa
|
PoolStats is an alias for pool.Stats
|
2017-09-11 10:12:00 +03:00 |
Vladimir Mihailenco
|
5294b5dae1
|
Add PoolStats.StaleConns and enable logging by default
|
2017-09-11 09:10:17 +03:00 |
wenjun.yan
|
4e1d2a01db
|
Make readOnly a private field so that only cluster client can use it
|
2017-07-25 10:35:41 +09:00 |
Vladimir Mihailenco
|
3ddda73a05
|
Close connections to unused nodes
|
2017-07-11 11:19:40 +03:00 |
Vladimir Mihailenco
|
9cf5f251be
|
Gracefully handle situation when Redis Server is down
|
2017-06-29 14:45:31 +03:00 |
Vladimir Mihailenco
|
9acf745faf
|
Scale pool size with number of cores since Redis connections are cheap
|
2017-06-28 18:20:26 +03:00 |
Vladimir Mihailenco
|
2dbe5a3d99
|
Add ParseURL example
|
2017-06-09 13:55:45 +03:00 |
Vladimir Mihailenco
|
3802e09b42
|
Simplify doc wording
|
2017-06-01 17:49:27 +03:00 |
Vladimir Mihailenco
|
ee42c3d5d3
|
Merge pull request #571 from go-redis/fix/on-connect
Fix/on connect
|
2017-05-26 14:56:40 +03:00 |
Vladimir Mihailenco
|
4a3a300665
|
Add Options.OnConnect
|
2017-05-26 14:56:18 +03:00 |
Jonathan Chan
|
406e882c43
|
Added backoff retry
|
2017-05-26 14:33:34 +03:00 |
Vladimir Mihailenco
|
191f839e81
|
Fix race between Subscribe and resubscribe
|
2017-04-17 17:00:20 +03:00 |
Vladimir Mihailenco
|
6499563e07
|
PubSub conns don't share connection pool limit
|
2017-04-17 16:59:56 +03:00 |
Yin Jifeng
|
66e06285b2
|
doc: update more Options default value
|
2017-04-17 19:30:05 +08:00 |
Yin Jifeng
|
d9dd5852ab
|
doc: mismatched IdleTimeout default value
|
2017-04-17 17:33:56 +08:00 |