Browse Source

Reduce chunk size to support AWS SQS automatically

pull/7035/head
Andrii Shvaika 4 years ago
parent
commit
499a804e8f
  1. 2
      application/src/main/resources/thingsboard.yml
  2. 2
      msa/vc-executor/src/main/resources/tb-vc-executor.yml

2
application/src/main/resources/thingsboard.yml

@ -1038,7 +1038,7 @@ queue:
poll-interval: "${TB_QUEUE_VC_INTERVAL_MS:25}"
pack-processing-timeout: "${TB_QUEUE_VC_PACK_PROCESSING_TIMEOUT_MS:60000}"
request-timeout: "${TB_QUEUE_VC_REQUEST_TIMEOUT:60000}"
msg-chunk-size: "${TB_QUEUE_VC_MSG_CHUNK_SIZE:500000}"
msg-chunk-size: "${TB_QUEUE_VC_MSG_CHUNK_SIZE:250000}"
js:
# JS Eval request topic
request_topic: "${REMOTE_JS_EVAL_REQUEST_TOPIC:js_eval.requests}"

2
msa/vc-executor/src/main/resources/tb-vc-executor.yml

@ -157,7 +157,7 @@ queue:
partitions: "${TB_QUEUE_VC_PARTITIONS:10}"
poll-interval: "${TB_QUEUE_VC_INTERVAL_MS:25}"
pack-processing-timeout: "${TB_QUEUE_VC_PACK_PROCESSING_TIMEOUT_MS:60000}"
msg-chunk-size: "${TB_QUEUE_VC_MSG_CHUNK_SIZE:500000}"
msg-chunk-size: "${TB_QUEUE_VC_MSG_CHUNK_SIZE:250000}"
vc:
# Pool size for handling export tasks

Loading…
Cancel
Save