Closed peterdudfield closed 1 year ago
Forecaster should take around ~ 1 min to complete the run. On 24th October it was taking a lot longer. Note: Database was overloaded, so this has a knock on effect.
Hard to develop on the FE, when database is being very slow PD: killed ECS tasks on 24th October to reset the system This task took 20 mins before being killed
The forecast updates the 'forecast_lvalue_latest' but this can take a while. The code that does the updaing is here
TODO
Idea: When getting forecast_value_latest object, only get the objects from at most a day a go. This will help reduce the query time.
Detailed Description
Forecaster should take around ~ 1 min to complete the run. On 24th October it was taking a lot longer. Note: Database was overloaded, so this has a knock on effect.
Context
Hard to develop on the FE, when database is being very slow PD: killed ECS tasks on 24th October to reset the system This task took 20 mins before being killed
The forecast updates the 'forecast_lvalue_latest' but this can take a while. The code that does the updaing is here
Possible Implementation
TODO