Vladimir Mihailenco
|
5460bc10f2
|
Use Context.Deadline to set net.Conn deadline
|
2019-06-08 15:02:51 +03:00 |
Francois Parquet
|
af59960088
|
Typo error in comments
|
2019-04-08 20:06:31 +08:00 |
Vladimir Mihailenco
|
b6fdeca648
|
Add PubSub.ChannelSize
|
2019-03-12 12:48:32 +02:00 |
Vladimir Mihailenco
|
21913a8304
|
pubsub: drop a message when the channel is full
|
2019-03-12 12:40:08 +02:00 |
Vladimir Mihailenco
|
daf101bd79
|
Fix nil ping error
|
2018-10-09 10:52:30 +03:00 |
Vladimir Mihailenco
|
6a768df38b
|
.
|
2018-10-01 11:38:21 +03:00 |
Vladimir Mihailenco
|
0197108027
|
Use bufio.Writer
|
2018-08-17 14:14:02 +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
|
e3b56f7641
|
pubsub: fix ping logic
|
2018-08-07 16:48:32 +03:00 |
Vladimir Mihailenco
|
316917d99f
|
pubsub: log an error on reconnect
|
2018-08-07 10:33:07 +03:00 |
Vladimir Mihailenco
|
96d1b85009
|
Cleanups
|
2018-08-06 13:59:15 +03:00 |
Vladimir Mihailenco
|
b576fe91a1
|
Use single read and write buffer where possible
|
2018-08-04 13:09:22 +03:00 |
Vladimir Mihailenco
|
7e6413d467
|
Better allowTimeout in PubSub
|
2018-07-30 13:57:04 +03:00 |
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 |