Skip to content

Commit

Permalink
Address Feedback
Browse files Browse the repository at this point in the history
Signed-off-by: Roshan Khatri <[email protected]>
  • Loading branch information
roshkhatri committed Jul 26, 2024
1 parent b8420f2 commit 4431095
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cluster_legacy.c
Original file line number Diff line number Diff line change
Expand Up @@ -2876,7 +2876,7 @@ static clusterNode *getNodeFromLinkAndMsg(clusterLink *link, clusterMsg *hdr) {
return sender;
}

void clusterProcessPublishPacket(clusterMsgDataPublish *publish_data, uint16_t type) {
static void clusterProcessPublishPacket(clusterMsgDataPublish *publish_data, uint16_t type) {
robj *channel, *message;
uint32_t channel_len, message_len;

Expand All @@ -2894,7 +2894,7 @@ void clusterProcessPublishPacket(clusterMsgDataPublish *publish_data, uint16_t t
}
}

void clusterProcessLightPacket(clusterLink *link, uint16_t type) {
static void clusterProcessLightPacket(clusterLink *link, uint16_t type) {
clusterMsgLight *hdr = (clusterMsgLight *)link->rcvbuf;

if (type == CLUSTERMSG_TYPE_PUBLISH || type == CLUSTERMSG_TYPE_PUBLISHSHARD) {
Expand Down

0 comments on commit 4431095

Please sign in to comment.