Skip to content

Remove duplicate subscribeForChanges in CallBackHandler #1503

@xyuanlu

Description

@xyuanlu

Is your feature request related to a problem? Please describe.
During code inspection, We found there are multiple subscribeForChanges being called in CallBackHandler.handelChildChange. This leads to longer time spend when process callbacks in zkClient, witch eventually leads to increased PendingCallback queue size.

Describe the solution you'd like
Remove duplicate subscribeForChanges in CallBackHandler and refine the code structure to improve performance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions