Skip to content

SubscribeToConfigurationUpdate does not work as expected #961

@rawalexe

Description

@rawalexe

Describe the bug
The subscription may notify [Number of configuration elements +1] times with each deployment that has a config value change. And at least once if there is no change.

To Reproduce

  • Deploy a component that uses SubscribeToConfigurationUpdate and has more than 1 DeafultConfiguration
  • Revise the deployment
  • [Optional] Make some changes to the configuration
  • Check how many times the callback is called

Expected behavior
The callback for SubscribeToConfigurationUpdate should only be called once per change

Actual behavior
The callback for SubscribeToConfigurationUpdate is called more than once per change

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions