complete level 5 track 1

This commit is contained in:
2026-10-15 13:04:16 +03:00
parent 9d0080db10
commit 4918969c6b
40 changed files with 877 additions and 53 deletions
+8 -2
View File
@@ -4,7 +4,7 @@ spring:
config:
import: "optional:configtree:/run/secrets/"
lifecycle:
timeout-per-shutdown-phase: 10s
timeout-per-shutdown-phase: 30s
jackson:
default-property-inclusion: non_null
deserialization:
@@ -18,7 +18,7 @@ spring:
connection-timeout: 2000
validation-timeout: 1000
maximum-pool-size: 10
minimum-idle: 2
minimum-idle: 10
idle-timeout: 60000
max-lifetime: 1800000
jpa:
@@ -60,6 +60,12 @@ management:
app:
idempotency:
key-max-length: ${IDEMPOTENCY_KEY_MAX_LENGTH:128}
key-pattern: '${IDEMPOTENCY_KEY_PATTERN:^[A-Za-z0-9._:-]+$}'
retention-hours: ${IDEMPOTENCY_RETENTION_HOURS:24}
instance:
id: ${INSTANCE_ID:${HOSTNAME:${random.uuid}}}
limits:
max-messages-per-chat: ${MAX_MESSAGES_PER_CHAT:10000}
rate: