Skip to content

Conversation

@ozonep
Copy link

@ozonep ozonep commented Oct 14, 2024

Change

Based on this ioredis PR: redis/ioredis#1900

Problem / Why

currently, cluster's "subscriber" check is done on "condition/preCondition" object level. But "condition.subscriber" property may be a boolean, not an object. So if "subscriber" as an object exists only on "prevCondition", we will never get there. This fix makes sure we pick the first available subscriber object (if any). This might be useful for us as "bull" uses subscriptions when dealing with queues.

References

  • Jira #:ID:
  • Link to some slack message
  • Link to other related resource

@ozonep ozonep changed the base branch from main to peakon-release-latest October 14, 2024 11:43
@ozonep ozonep closed this Apr 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants