Change default parameters for active device counts
This commit is contained in:
parent
08835a7245
commit
c87b993262
@ -129,7 +129,7 @@ public class DefaultTbApiUsageStateService extends AbstractPartitionBasedService
|
|||||||
@Value("${usage.stats.check.cycle:60000}")
|
@Value("${usage.stats.check.cycle:60000}")
|
||||||
private long nextCycleCheckInterval;
|
private long nextCycleCheckInterval;
|
||||||
|
|
||||||
@Value("${usage.stats.gauge_report_interval:420000}")
|
@Value("${usage.stats.gauge_report_interval:180000}")
|
||||||
private long gaugeReportInterval;
|
private long gaugeReportInterval;
|
||||||
|
|
||||||
private final Lock updateLock = new ReentrantLock();
|
private final Lock updateLock = new ReentrantLock();
|
||||||
|
|||||||
@ -144,11 +144,11 @@ usage:
|
|||||||
interval: "${USAGE_STATS_REPORT_INTERVAL:10}"
|
interval: "${USAGE_STATS_REPORT_INTERVAL:10}"
|
||||||
check:
|
check:
|
||||||
cycle: "${USAGE_STATS_CHECK_CYCLE:60000}"
|
cycle: "${USAGE_STATS_CHECK_CYCLE:60000}"
|
||||||
# In milliseconds. Default value is 7 minutes
|
# In milliseconds. Default value is 3 minutes
|
||||||
gauge_report_interval: "${USAGE_STATS_GAUGE_REPORT_INTERVAL:420000}"
|
gauge_report_interval: "${USAGE_STATS_GAUGE_REPORT_INTERVAL:180000}"
|
||||||
devices:
|
devices:
|
||||||
# In seconds, default value is 3 minutes. When changing, in cluster mode, make sure usage.stats.gauge_report_interval is set to x2-x3 of this value
|
# In seconds, default value is 1 minutes. When changing, in cluster mode, make sure usage.stats.gauge_report_interval is set to x2-x3 of this value
|
||||||
report_interval: "${DEVICES_STATS_REPORT_INTERVAL:180}"
|
report_interval: "${DEVICES_STATS_REPORT_INTERVAL:60}"
|
||||||
|
|
||||||
# UI parameters
|
# UI parameters
|
||||||
ui:
|
ui:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user