Skip to content

Commit 349bab8

Browse files
committed
(comment)
1 parent d5e2766 commit 349bab8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

common/subscribereventtable.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ uint64_t SubscriberEventTable::readData()
9191

9292
/* Try to read data from redis cacher.
9393
* If data exists put it to event buffer.
94-
* NOTE: Keyspace event is not persistent and it won't
95-
* be possible to read it second time. If it is not stared in
94+
* NOTE: channel event is not persistent and it won't
95+
* be possible to read it second time. If it is not stored in
9696
* the buffer it will be lost. */
9797

9898
reply = nullptr;

common/subscribereventtable.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class SubscriberEventTable : public ConsumerTableBase
1212
/* Get all available events from pub/sub channel */
1313
void pops(std::deque<KeyOpFieldsValuesTuple> &vkco, const std::string &prefix = EMPTY_PREFIX);
1414

15-
/* Read keyspace event from redis */
15+
/* Read event from redis channel*/
1616
uint64_t readData() override;
1717
bool hasData() override;
1818
bool hasCachedData() override;
@@ -22,7 +22,7 @@ class SubscriberEventTable : public ConsumerTableBase
2222
}
2323

2424
private:
25-
/* Pop keyspace event from event buffer. Caller should free resources. */
25+
/* Pop event from event buffer. Caller should free resources. */
2626
std::shared_ptr<RedisReply> popEventBuffer();
2727

2828
std::string m_channel;

0 commit comments

Comments
 (0)