FlexMeasures / flexmeasures

The intelligent & developer-friendly EMS to support real-time energy flexibility apps, rapidly and scalable.
https://flexmeasures.io
Apache License 2.0
133 stars 34 forks source link

A quick solution to be able to prevent the flex-context part of the asset form #1117

Closed nhoening closed 6 days ago

nhoening commented 6 days ago

…, in case the database has many sensors per account

Description

We have seen that loading the page can take long when the number of sensors is very high (e.g. due to many KPIs being reported)

Look & Feel

Loading of the page should be normal again.

How to test

Set the config setting FLEXMEASURES_HIDE_FLEXCONTEXT_EDIT to True.

Further Improvements

A real solution might move the form to its own page and also look into smarter solutions to load possible sensors (e.g. limit the number)