Skip to content

Commit d9b94ce

Browse files
committed
infra: increase compute limits
1 parent bf13a64 commit d9b94ce

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

infra/main.bicep

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,12 @@ resource containerApp 'Microsoft.App/containerApps@2025-01-01' = {
8686
memory: '2Gi'
8787
}
8888
env: [
89-
{ name: 'OPTIMIZER_TIME_LIMIT', value: '25' }
89+
{ name: 'OPTIMIZER_TIME_LIMIT', value: '50' }
9090
{ name: 'OPTIMIZER_NUM_THREADS', value: '1' }
91-
{ name: 'GUNICORN_CMD_ARGS', value: '--workers 1 --timeout 60 --max-requests 5000 --max-requests-jitter 500' }
91+
{
92+
name: 'GUNICORN_CMD_ARGS'
93+
value: '--workers 1 --timeout 120 --max-requests 5000 --max-requests-jitter 500'
94+
}
9295
{ name: 'JWT_TOKEN_SECRET', secretRef: 'jwt-token-secret' }
9396
]
9497
probes: [
@@ -105,7 +108,7 @@ resource containerApp 'Microsoft.App/containerApps@2025-01-01' = {
105108
]
106109
scale: {
107110
minReplicas: 1
108-
maxReplicas: 30
111+
maxReplicas: 50
109112
rules: [
110113
{
111114
name: 'http-scaling'
@@ -121,5 +124,4 @@ resource containerApp 'Microsoft.App/containerApps@2025-01-01' = {
121124
}
122125
}
123126

124-
125127
output fqdn string = containerApp.properties.configuration.ingress.fqdn

0 commit comments

Comments
 (0)