Skip to content

Inactive API configs are never removed #2

Description

@mickeyslaven

Inactive configurations never expire because cleanup checks:

dict[key]['out']['timestamp']

but the timestamp is stored at:

dict[key]['timestamp']

After enough unique configurations (12 it seems), new requests return 400 Exceeded max API requests until adsb2dd restarts. I reproduced this locally by waiting beyond the configured expiration time.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions