Vladimir Mihailenco
|
9bb7bb3cde
|
Change ReceiveMessage to not use Ping
|
2018-07-24 09:54:34 +03:00 |
Vladimir Mihailenco
|
ea9da7c2e8
|
Rework ReceiveMessage
|
2018-07-23 17:10:58 +03:00 |
Vladimir Mihailenco
|
b92dacbfa7
|
Conn timeout should be higher than read timeout
|
2018-07-22 08:49:48 +03:00 |
superkinglabs
|
877867d284
|
Remove costly 'appendIfNotExists' and 'remove' call from PubSub (#743)
* remove costly 'appendIfNotExists' and 'remove' call from pubsub
|
2018-03-14 12:42:51 +02:00 |
Veselkov Konstantin
|
ea4d6c3490
|
golint warnings are removed
|
2018-01-24 22:38:47 +04:00 |
Vladimir Mihailenco
|
15f14b8305
|
Create PubSub channel once
|
2017-10-30 12:09:57 +02:00 |
Vladimir Mihailenco
|
dbd2c99ba9
|
Rework pipeline retrying
|
2017-09-01 14:56:00 +03:00 |
Vladimir Mihailenco
|
dbcf95c85e
|
Fix PubSub.Subscribe deadlock
|
2017-08-01 14:21:26 +03:00 |
Vladimir Mihailenco
|
6060f097e1
|
Add PubSub support to Cluster client
|
2017-07-09 10:07:20 +03:00 |
Vladimir Mihailenco
|
0d94a7bc88
|
Fix race in PubSub
|
2017-06-29 17:09:52 +03:00 |
Vladimir Mihailenco
|
fbc8000fd1
|
Resent client pool when sentinel switches master
|
2017-06-29 16:53:49 +03:00 |
Vladimir Mihailenco
|
18c1db9466
|
Doc
|
2017-05-11 17:02:26 +03:00 |
Vladimir Mihailenco
|
13b6f3ffb7
|
Fix conn management in PubSub
|
2017-04-24 14:06:27 +03:00 |
Vladimir Mihailenco
|
9ebd89772a
|
Rework PubSub conn management
|
2017-04-24 13:41:03 +03:00 |
Vladimir Mihailenco
|
7646d48e29
|
Initialize PubSub connection
|
2017-04-18 13:12:38 +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 |
Vladimir Mihailenco
|
8d52a95269
|
Simplify PubSub API
|
2017-04-11 16:53:55 +03:00 |
Vladimir Mihailenco
|
34ea5f98eb
|
Add Channel helper
|
2017-04-11 16:18:35 +03:00 |
Vladimir Mihailenco
|
ef95182d29
|
Code cleanup
|
2017-03-31 15:11:11 +03:00 |
Vladimir Mihailenco
|
58e9c55d8e
|
Use simple PING for compatibility
|
2017-02-23 15:29:38 +02:00 |
Vladimir Mihailenco
|
8040d63c4f
|
Remove gopkg.in
|
2017-02-19 09:49:21 +02:00 |
Vladimir Mihailenco
|
ce4fd8b677
|
Fix ReceiveMessage to work without any subscriptions.
|
2017-02-08 14:15:32 +02:00 |
Vladimir Mihailenco
|
b4efc45f1c
|
Set read/write timeouts more consistently.
|
2016-12-03 17:30:13 +02:00 |
Vladimir Mihailenco
|
2c5b239ecb
|
Remove internal errors package that clashes with std lib.
|
2016-10-09 11:44:31 +00:00 |
Vladimir Mihailenco
|
f5245efa73
|
Prepare v5 release.
|
2016-10-09 10:56:53 +00:00 |
Vladimir Mihailenco
|
e57ac63b6e
|
Simplify resubscribing in PubSub.
|
2016-09-29 12:33:47 +00:00 |
Sergey Shcherbina
|
850045d6a6
|
Use appendIfNotExists instead of append. Fixed bug when connection loss to server leads to exponential grow of channels and patterns array in PubSub in every reconnect
|
2016-09-29 15:12:35 +05:00 |
Vladimir Mihailenco
|
4210c090b1
|
Move Publish channel to cmdable. Remove method that was deprecated in v3.
|
2016-07-21 13:04:40 +00:00 |
Dimitrij Denissenko
|
7d856c5595
|
Make proto/parser an internal package
|
2016-07-02 13:52:10 +01:00 |
Vladimir Mihailenco
|
ac162eb843
|
Move Select to stateful commands and make it available only via Pipeline and Tx.
|
2016-06-05 09:45:39 +00:00 |
Vladimir Mihailenco
|
31abb18d9a
|
Move logger to internal package.
|
2016-04-09 14:52:01 +03:00 |
Vladimir Mihailenco
|
38d30a4bab
|
Use redis.v4 that is in alpha/beta state.
|
2016-04-09 13:27:16 +03:00 |
Vladimir Mihailenco
|
d79074eadb
|
Remove PMessage.
|
2016-04-09 11:51:13 +03:00 |
Vladimir Mihailenco
|
6e1aef39ea
|
Faster and simpler pool.
|
2016-03-19 11:49:13 +02:00 |
Vladimir Mihailenco
|
707472c09b
|
Fix connection initialization.
|
2016-03-15 14:21:53 +02:00 |
Vladimir Mihailenco
|
46790aa060
|
Add race test for big vals. Copy connection to avoid race with PubSub.
|
2016-03-14 16:34:15 +02:00 |
Vladimir Mihailenco
|
ad0739be99
|
Extract pool package. Add pool benchmark.
|
2016-03-12 10:52:13 +02:00 |
Vladimir Mihailenco
|
0db1d730c8
|
Improve pool tests by verifying number of created connections.
|
2016-03-09 14:36:14 +02:00 |
Vladimir Mihailenco
|
673e999431
|
Close connection on network timeout.
|
2016-03-09 14:36:14 +02:00 |
Vladimir Mihailenco
|
110e93a8e4
|
Simplify connection management with sticky connection pool. Fixes #260.
|
2016-03-01 14:12:25 +02:00 |
Vladimir Mihailenco
|
ebf51e1a1b
|
Add prefix to package logger.
|
2016-02-06 12:16:09 +02:00 |
Francisco Souza
|
d3ee281748
|
Declare and use a package-level Logger
This allow users of the API to override the Logger. Fix #250.
|
2016-02-03 12:30:39 -05:00 |
Vladimir Mihailenco
|
1739cd9380
|
pubsub: add PSubscribe test. Updates #233.
|
2015-12-31 11:27:28 +02:00 |
Dolf Schimmel (Freeaqingme)
|
84cd769290
|
Merge branch 'master' of github.com:Freeaqingme/go-redis into HEAD
|
2015-12-31 00:43:42 +01:00 |
Dolf Schimmel (Freeaqingme)
|
6eec22a5e5
|
Bugfix: pubsub/psubscribe should register a pattern rather than channel
|
2015-12-31 00:43:28 +01:00 |
Vladimir Mihailenco
|
d7c44c7899
|
Better rate limited message.
|
2015-12-22 15:45:03 +02:00 |
Vladimir Mihailenco
|
42141f11d1
|
Improve ReceiveMessage.
|
2015-12-02 15:40:44 +02:00 |
Vladimir Mihailenco
|
b6b689904a
|
Fix test.
|
2015-11-22 17:53:44 +02:00 |
Vladimir Mihailenco
|
ade3425870
|
multi: fix recovering from bad connection.
|
2015-11-14 14:44:16 +02:00 |