Skip to content

Commit

Permalink
Fix SUBSCRIPTION_MESSAGE_WITH_SUBSCRIBERS log event
Browse files Browse the repository at this point in the history
  • Loading branch information
PabloSzx committed Sep 2, 2022
1 parent c640b09 commit 795b08e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/flat-ladybugs-smash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@soundxyz/redis-pubsub": patch
---

Fix SUBSCRIPTION_MESSAGE_WITH_SUBSCRIBERS log event
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export function RedisPubSub({
return;
}

if (enabledLogEvents?.SUBSCRIPTION_MESSAGE_WITHOUT_SUBSCRIBERS) {
if (enabledLogEvents?.SUBSCRIPTION_MESSAGE_WITH_SUBSCRIBERS) {
logMessage("SUBSCRIPTION_MESSAGE_WITH_SUBSCRIBERS", {
channel,
subscribers: subscription.dataPromises.size,
Expand Down

0 comments on commit 795b08e

Please sign in to comment.