Vladimir Mihailenco
|
f3ce3362a0
|
Add golangci-lint
|
2019-07-25 14:36:50 +03:00 |
Vladimir Mihailenco
|
0e7fb3b12d
|
Marshal time as RFC3339. Add StringCmd.Time helper.
|
2019-07-25 13:03:09 +03:00 |
Vladimir Mihailenco
|
2cbb5194fb
|
Fix WithContext and add tests
|
2019-07-04 11:57:54 +03:00 |
Vladimir Mihailenco
|
717362d3e9
|
Inc StaleConns in ReapStaleConns
|
2019-06-24 15:27:03 +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
|
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
|
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
|
35932b7961
|
Check context.Done while waiting for a connection
|
2019-06-08 15:36:00 +03:00 |
Vladimir Mihailenco
|
5460bc10f2
|
Use Context.Deadline to set net.Conn deadline
|
2019-06-08 15:02:51 +03:00 |
Vladimir Mihailenco
|
53c8a4a6b7
|
Pass context to Dialer
|
2019-06-04 14:26:26 +03:00 |
Vladimir Mihailenco
|
6c72dc807e
|
internal/pool: replace atomic.Value with int64
|
2019-06-01 11:32:05 +03:00 |
Vladimir Mihailenco
|
b706478fdc
|
Fix MinIdleConns and MaxConnAge
|
2019-03-25 13:02:31 +02:00 |
Vladimir Mihailenco
|
ac9e1abf54
|
Retry master node on readonly errors. Fixes #977
|
2019-02-27 12:53:44 +02:00 |
WANG QIANG
|
d040650021
|
Remove SingleFlight package
|
2019-01-08 17:15:24 +08:00 |
Vladimir Mihailenco
|
fa76dd0e87
|
Add releaseConnStrict
|
2018-10-14 11:27:34 +03:00 |
Andrii Kushch
|
f5d67d80d3
|
remove unused function
|
2018-10-11 12:55:35 +02:00 |
Vladimir Mihailenco
|
8d3747808e
|
internal: retry timeout
|
2018-08-23 16:13:42 +03:00 |
Vladimir Mihailenco
|
0197108027
|
Use bufio.Writer
|
2018-08-17 14:14:02 +03:00 |
Vladimir Mihailenco
|
00de347403
|
Optimize reading big values
|
2018-08-16 14:01:03 +03:00 |
Vladimir Mihailenco
|
5146fb0c57
|
Cleanup buffers manipulation
|
2018-08-15 11:53:15 +03:00 |
Vladimir Mihailenco
|
7c26d1ceb6
|
Pass cn.Rd where possible
|
2018-08-15 09:38:58 +03:00 |
Vladimir Mihailenco
|
cfe305296f
|
Bench bigget values
|
2018-08-15 09:10:53 +03:00 |
Vladimir Mihailenco
|
8ebf0b7750
|
Remove unused code
|
2018-08-13 09:52:36 +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
|
fee18a3d42
|
Use sub-benchmarks
|
2018-08-10 14:08:07 +03:00 |
Vladimir Mihailenco
|
e753829945
|
internal/proto: avoid moving data when buffer is big enough
|
2018-08-07 14:49:35 +03:00 |
Vladimir Mihailenco
|
96d1b85009
|
Cleanups
|
2018-08-06 13:59:15 +03:00 |
Vladimir Mihailenco
|
464daeb271
|
Rename BufioReader to ElasticBufReader
|
2018-08-06 13:37:20 +03:00 |
Vladimir Mihailenco
|
c651b50db5
|
internal/proto: cleanup bufio reader
|
2018-08-05 15:07:10 +03:00 |
Vladimir Mihailenco
|
b576fe91a1
|
Use single read and write buffer where possible
|
2018-08-04 13:09:22 +03:00 |
Vladimir Mihailenco
|
2559f32464
|
cluster: optimize newClusterState
|
2018-07-22 14:17:42 +03:00 |
Vladimir Mihailenco
|
7c9aa65a40
|
Cleanup
|
2018-07-22 09:27:36 +03:00 |
Vladimir Mihailenco
|
7f5b63da85
|
Close read-only connections
|
2018-06-18 13:09:20 +03:00 |
Vladimir Mihailenco
|
faf5666fbd
|
Cleanup pool
|
2018-05-29 17:29:47 +03:00 |
Vladimir Mihailenco
|
3aa80da654
|
internal/proto: cleanup code
|
2018-03-08 14:00:21 +02:00 |
Vladimir Mihailenco
|
56dea1f39a
|
Fix proto.RedisError in slices
|
2018-02-22 14:24:27 +02:00 |
Vladimir Mihailenco
|
fa7f64f7f2
|
Rework retrying
|
2018-02-16 13:40:23 +02:00 |
Veselkov Konstantin
|
fbec95a796
|
fix rename
|
2018-01-25 11:15:44 +04:00 |
Veselkov Konstantin
|
ea4d6c3490
|
golint warnings are removed
|
2018-01-24 22:38:47 +04:00 |
Vladimir Mihailenco
|
abb85b0fb8
|
Remove StringToBytes
|
2018-01-15 16:15:20 +02:00 |
Vladimir Mihailenco
|
041b11eb4f
|
Merge pull request #693 from FJSDS/change_bytes_string
fix unsafe.go
|
2018-01-15 16:12:18 +02:00 |
FJSDS
|
a8340c6b74
|
fix unsafe.go
|
2018-01-11 16:42:52 +08:00 |
Vladimir Mihailenco
|
3de5605ab2
|
Pick random node when command does not have keys
|
2017-12-28 16:47:08 +02:00 |
Vladimir Mihailenco
|
48b70050d4
|
Fix slice next elem func
|
2017-11-01 15:33:53 +02:00 |
Dimitrij Denissenko
|
dac1820e47
|
Fix pool panics
|
2017-10-11 16:03:55 +01:00 |