Skip to content

Add waiting time before loading autocomplete information #289

@Bertware

Description

@Bertware

Prevent querying the stations list too much. The limit is 2 requests per second, with an additional burst of 6. Passing this limit will cause 503 responses and the auto-complete list will temporary disappear.

Proposed solution:
The station name auto-complete should wait 300ms before searching. If in this period, another character is typed, the interval should be reset. Once the interval has elapsed, the text which is then typed should be searched.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions