forked from mtusi2026/mtusi2026lab5
Completed for a grade of three
This commit is contained in:
@@ -110,3 +110,29 @@ storage {
|
||||
accessKeyFile = ${?S3_ACCESS_KEY_ID_FILE}
|
||||
secretKeyFile = ${?S3_SECRET_ACCESS_KEY_FILE}
|
||||
}
|
||||
|
||||
broker {
|
||||
host = "localhost"
|
||||
host = ${?BROKER_HOST}
|
||||
port = 5672
|
||||
port = ${?BROKER_PORT}
|
||||
username = "messenger"
|
||||
username = ${?BROKER_USER}
|
||||
password = ${?BROKER_PASSWORD}
|
||||
passwordFile = ${?BROKER_PASSWORD_FILE}
|
||||
queue = "attachment.process.v1"
|
||||
queue = ${?BROKER_QUEUE}
|
||||
connectionTimeoutMs = 3000
|
||||
operationTimeoutMs = 8000
|
||||
}
|
||||
|
||||
worker {
|
||||
concurrency = 1
|
||||
concurrency = ${?WORKER_CONCURRENCY}
|
||||
maxAttempts = 5
|
||||
maxAttempts = ${?JOB_MAX_ATTEMPTS}
|
||||
timeoutSeconds = 60
|
||||
timeoutSeconds = ${?JOB_TIMEOUT_SECONDS}
|
||||
stagingRetentionSeconds = 86400
|
||||
stagingRetentionSeconds = ${?STAGING_RETENTION_SECONDS}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user