100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps
Java asset-managementbuildingdashboarddataplatformdevice-managementedge-computingenergyenergy-managementenergy-monitorfleet-managementfleet-telematicsiotiot-applicationiot-platformmodbusmqttmqtt-brokerota-updaterules-enginesmartcity
Updated default OR_DATA_POINTS_QUERY_LIMIT to 100.000 (#1552)
Martin Peeterscb72326c2137
diff --git a/manager/src/main/java/org/openremote/manager/datapoint/AbstractDatapointService.java b/manager/src/main/java/org/openremote/manager/datapoint/AbstractDatapointService.javaindex 781856794..5a96343b5 100644--- a/manager/src/main/java/org/openremote/manager/datapoint/AbstractDatapointService.java+++ b/manager/src/main/java/org/openremote/manager/datapoint/AbstractDatapointService.java@@ -83,7 +83,7 @@ public abstract class AbstractDatapointService<T extends Datapoint> implements CassetStorageService = container.getService(AssetStorageService.class);timerService = container.getService(TimerService.class);scheduledExecutorService = container.getScheduledExecutor();- maxAmountOfQueryPoints = getInteger(container.getConfig(), OR_DATA_POINTS_QUERY_LIMIT, 0);+ maxAmountOfQueryPoints = getInteger(container.getConfig(), OR_DATA_POINTS_QUERY_LIMIT, 100000);}@Overridediff --git a/profile/deploy.yml b/profile/deploy.ymlindex 4cffee407..314a3cce9 100644--- a/profile/deploy.yml+++ b/profile/deploy.yml@@ -335,8 +335,9 @@ services:# value by using the DATA_POINTS_MAX_AGE_DAYS AssetMeta item).# OR_DATA_POINTS_MAX_AGE_DAYS: 30- # Configure the limit of data points that can be queried. Disabled by default.- # OR_DATA_POINTS_QUERY_LIMIT: 1000000+ # Configure the limit of data points that can be queried.+ # Defaults to 100.000. When set to 0, it disables the limit.+ # OR_DATA_POINTS_QUERY_LIMIT: 100000# App id for the API of OpenWeather: https://openweathermap.org# OR_OPEN_WEATHER_API_APP_ID