Skip to content

Throttlex takes configuration at compile time #1

@Szetty

Description

@Szetty

Hi!

We have just observed a bug in throttlex related to configuration changes.
As we have digged deeper we have found out that the configuration is taken at compile time (regarding buckets, and functions are generated for each bucket).

As the elixir compiler is caching dependecies, changes to configuration is not propagated every time so we can end up with old buckets.

My suggestion is to change this, and introduce configuration at runtime.

What is your opinion ?

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