Skip to content

Consider changing the default value of refreshInterval so it is less spammy #247

Closed
@rcjsuen

Description

@rcjsuen

Describe the feature request

refreshInterval = 30,

Currently, this library uses a default of 30s for the refreshInterval. If you just move ahead with the defaults (without thinking much about it) and release your code, you may end up getting a swarm of requests to your backend. Would Unleash consider changing the default to 60s or 5m or whatever else seems "reasonable" (although I completely understand that "reasonable" is subjective).

I understand that there's another side to the coin here. You want to refresh regularly so that if something goes wrong you want to be able to change the state of a flag quickly to protect your users as soon as possible.

Background

No response

Solution suggestions

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions