更新 test-redis++.cpp
This commit is contained in:
parent
dca73cf373
commit
7f86118c33
@ -22,7 +22,7 @@ void keyspace_subscriber_thread(sw::redis::Redis &redis) {
|
||||
try {
|
||||
auto sub = redis.subscriber();
|
||||
sub.on_message([](std::string channel, std::string msg) {
|
||||
std::cout << "Received keyspace event from channel " << channel << ": " << msg << std::endl;
|
||||
std::cout << "Received keyspace event from channel: " << channel << " : " << msg << std::endl;
|
||||
});
|
||||
|
||||
//突然又可以了
|
||||
|
||||
Loading…
Reference in New Issue
Block a user