Skip to content

Send a phone call from AI agent, in an API call. Or, directly call the bot from the configured phone number!

Python

quality: Bicep documentation

Clémence Lesnéc6bf1284f89e
diff --git a/cicd/bicep/app.bicep b/cicd/bicep/app.bicep
index d4d40ee..2d67c67 100644
--- a/cicd/bicep/app.bicep
+++ b/cicd/bicep/app.bicep
@@ -175,8 +175,9 @@ resource redis 'Microsoft.App/containerApps@2024-03-01' = {
environmentId: acaEnv.id
template: {
scale: {
- maxReplicas: 1
- minReplicas: 1
+ maxReplicas: 1 // Scaling would require a cluster, not needed
+ minReplicas: 1 // Cache requires low latency, need to keep it running
+ rules: []
}
containers: [
{
@@ -192,7 +193,7 @@ resource redis 'Microsoft.App/containerApps@2024-03-01' = {
tcpSocket: {
port: 6379
}
- initialDelaySeconds: 10
+ initialDelaySeconds: 1 // Start in few secs, delay is not needed
}
]
}