From a3d3bf207e0af641f81c8bc784589c539cd91163 Mon Sep 17 00:00:00 2001 From: Volodymyr Babak Date: Fri, 27 Oct 2023 16:11:36 +0300 Subject: [PATCH] Increased default value of EDGES_SLEEP_BETWEEN_BATCHES to handle 2G/3G connections --- application/src/main/resources/thingsboard.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/src/main/resources/thingsboard.yml b/application/src/main/resources/thingsboard.yml index a954178d5c..4eda9fd2bd 100644 --- a/application/src/main/resources/thingsboard.yml +++ b/application/src/main/resources/thingsboard.yml @@ -1228,7 +1228,7 @@ edges: # Number of milliseconds to wait before the next check of edge events in DB no_read_records_sleep: "${EDGES_NO_READ_RECORDS_SLEEP:1000}" # Number of milliseconds to wait before resending failed batch of edge events to edge - sleep_between_batches: "${EDGES_SLEEP_BETWEEN_BATCHES:10000}" + sleep_between_batches: "${EDGES_SLEEP_BETWEEN_BATCHES:60000}" # Number of threads that are used to check DB for edge events scheduler_pool_size: "${EDGES_SCHEDULER_POOL_SIZE:1}" # Number of threads that are used to send downlink messages to edge over gRPC