File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ az containerapp create \
55
55
--resource-group $RESOURCE_GROUP \
56
56
--environment $ACA_ENVIRONMENT \
57
57
--image ghcr.io/jeffhollan/grpc-sample-python/https-frontend:main \
58
- --environment-variables GRPC_SERVER_ADDRESS=$GRPC_SERVER_ADDRESS ' :443' \
58
+ --environment-variables GRPC_SERVER_ADDRESS=$GRPC_SERVER_ADDRESS ' :443' ,GRPC_DNS_RESOLVER=native \
59
59
--target-port 8050 \
60
60
--ingress ' external' \
61
61
--query configuration.ingress.fqdn
Original file line number Diff line number Diff line change 25
25
@app .route ('/hello' , methods = ['GET' ])
26
26
def getHello ():
27
27
helloRequest = greet_pb2 .HelloRequest (name = 'Azure Container Apps' )
28
- response = greeter .SayHello (helloRequest , timeout = 15 )
28
+ response = greeter .SayHello (helloRequest , timeout = 25 )
29
29
return response .message
30
30
31
31
app .run (host = '0.0.0.0' , port = os .getenv ('PORT' , '8050' ))
You can’t perform that action at this time.
0 commit comments