Skip to content

Refresh weather data #331

Description

@Carpenteri1

What

Every 1h we need to refresh the weather data in the database.
This needs to be done from the api, not from client.
The database needs to call the provider api.
Client should only ask for new data from the provider api, as it currently are working.

Suggestion would be to either update when its not fresh or update all att once in a batch process

Why

We need to have fresh data, and we need to update it once in a while so we get the correct weather.

Definition of done

  • Update weather data every 1h
  • This should be done by the API not the client
  • Api needs to call provider api
  • Api needs to update the data by location

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions