mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-12 02:45:45 +02:00
parent
c952251381
commit
c65073eca9
7 changed files with 215 additions and 188 deletions
|
@ -61,7 +61,7 @@ TestConnection::TestConnection(Protocol protocol, io::StringSink* sink)
|
|||
: facade::Connection(protocol, nullptr, nullptr, nullptr), sink_(sink) {
|
||||
}
|
||||
|
||||
void TestConnection::SendMsgVecAsync(PubMessage pmsg) {
|
||||
void TestConnection::SendPubMessageAsync(PubMessage pmsg) {
|
||||
if (pmsg.type == PubMessage::kPublish) {
|
||||
messages.push_back(move(pmsg));
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue