Merge pull request #9515 from volodymyr-babak/edge-sleep_between_batches-increased

Increased default value of EDGES_SLEEP_BETWEEN_BATCHES to handle 2G/3G connections
This commit is contained in:
Andrew Shvayka 2023-10-27 16:33:12 +03:00 committed by GitHub
commit 9a76bae01e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1228,7 +1228,7 @@ edges:
# Number of milliseconds to wait before the next check of edge events in DB # Number of milliseconds to wait before the next check of edge events in DB
no_read_records_sleep: "${EDGES_NO_READ_RECORDS_SLEEP:1000}" no_read_records_sleep: "${EDGES_NO_READ_RECORDS_SLEEP:1000}"
# Number of milliseconds to wait before resending failed batch of edge events to edge # 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 # Number of threads that are used to check DB for edge events
scheduler_pool_size: "${EDGES_SCHEDULER_POOL_SIZE:1}" scheduler_pool_size: "${EDGES_SCHEDULER_POOL_SIZE:1}"
# Number of threads that are used to send downlink messages to edge over gRPC # Number of threads that are used to send downlink messages to edge over gRPC