Skip to content

Infinite flag changes through SDK and socket #172

@tdeekens

Description

@tdeekens

Is this a support request?

No, it's an observation we had while the the problem now disapeared.

Describe the bug

We noticed twice now that LaunchDarkly keeps flushing flag updates to our app, through the SDK and flopflip (our library we use). This leads to an infinte change in the UI. E.g. buttons appearing and disapearing.

To reproduce

The problem occured twice in two weeks and resolved itself after 20-30 minutes without making a change to our code base.

Ideas

We are wondering if the SDKs could use an exponential back-off. So given that the backing LaunchDarkly APIs keep streaming flag changes too frequently over a certain amount of time. Then the SDK whould only notify the consumer through the change handlers on a lowering frequency.

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