Test #1

Merged
admin merged 1726 commits from test into main 2026-09-17 11:52:45 +08:00
3 changed files with 19 additions and 3 deletions
Showing only changes of commit 91c276f520 - Show all commits
+7 -1
View File
@@ -1,3 +1,9 @@
spring:
servlet:
multipart:
max-file-size: 5MB
max-request-size: 6MB
baiyue:
integration:
baidu-ocr:
@@ -6,7 +12,7 @@ baiyue:
secret-key: ${BAIDU_OCR_SECRET_KEY:}
input-root: ${WEIGHT_OCR_INPUT_ROOT:/data/baiyue/weight-ocr/input}
output-root: ${WEIGHT_OCR_OUTPUT_ROOT:/data/baiyue/weight-ocr/output}
max-image-size: ${WEIGHT_OCR_MAX_IMAGE_SIZE:3MB}
max-image-size: ${WEIGHT_OCR_MAX_IMAGE_SIZE:5MB}
max-image-pixels: ${WEIGHT_OCR_MAX_IMAGE_PIXELS:40000000}
max-batch-size: ${WEIGHT_OCR_MAX_BATCH_SIZE:50}
connect-timeout: ${BAIDU_OCR_CONNECT_TIMEOUT:10s}
+7 -1
View File
@@ -1,10 +1,16 @@
spring:
servlet:
multipart:
max-file-size: 5MB
max-request-size: 6MB
baiyue:
integration:
baidu-ocr:
enabled: ${BAIDU_OCR_ENABLED:false}
input-root: ${WEIGHT_OCR_INPUT_ROOT:${java.io.tmpdir}/baiyue-weight-ocr/input}
output-root: ${WEIGHT_OCR_OUTPUT_ROOT:${java.io.tmpdir}/baiyue-weight-ocr/output}
max-image-size: ${WEIGHT_OCR_MAX_IMAGE_SIZE:3MB}
max-image-size: ${WEIGHT_OCR_MAX_IMAGE_SIZE:5MB}
max-image-pixels: ${WEIGHT_OCR_MAX_IMAGE_PIXELS:40000000}
max-batch-size: ${WEIGHT_OCR_MAX_BATCH_SIZE:50}
amazon-sp-api:
@@ -6,6 +6,10 @@ spring:
active: ${SPRING_PROFILES_ACTIVE:dev}
application:
name: integration-service
servlet:
multipart:
max-file-size: 5MB
max-request-size: 6MB
autoconfigure:
exclude:
- org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration
@@ -41,7 +45,7 @@ baiyue:
request-timeout: ${BAIDU_OCR_REQUEST_TIMEOUT:60s}
input-root: ${WEIGHT_OCR_INPUT_ROOT:${java.io.tmpdir}/baiyue-weight-ocr/input}
output-root: ${WEIGHT_OCR_OUTPUT_ROOT:${java.io.tmpdir}/baiyue-weight-ocr/output}
max-image-size: ${WEIGHT_OCR_MAX_IMAGE_SIZE:3MB}
max-image-size: ${WEIGHT_OCR_MAX_IMAGE_SIZE:5MB}
max-image-pixels: ${WEIGHT_OCR_MAX_IMAGE_PIXELS:40000000}
max-batch-size: ${WEIGHT_OCR_MAX_BATCH_SIZE:50}
min-request-interval: ${BAIDU_OCR_MIN_REQUEST_INTERVAL:600ms}