Skip to content

Commit 8218d3a

Browse files
authored
Fixed integration disconnected alert coming to often (#313) (#393)
1 parent f3704de commit 8218d3a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

backend/src/main/java/com/park/utmstack/service/UtmDataInputStatusService.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,9 +257,9 @@ private Map<String, Boolean> extractSourcesWithUpDownStatus(List<UtmDataInputSta
257257
/**
258258
* Check datasource from utm_data_input_status table that are not of type WORKSTATION and
259259
* if any of them are down then create a new alert. This method is a schedule with a delay
260-
* of 1 hour
260+
* of 24 hour
261261
*/
262-
@Scheduled(fixedDelay = 12, timeUnit = TimeUnit.HOURS)
262+
@Scheduled(fixedDelay = 24, timeUnit = TimeUnit.HOURS)
263263
public void checkDatasourceDown() {
264264
final String ctx = CLASSNAME + ".checkDatasourceDown";
265265
try {

0 commit comments

Comments
 (0)