Skip to content

Commit eb8cc26

Browse files
committed
adding env GRPC_DNS_RESOLVER=native
1 parent d3e5948 commit eb8cc26

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ az containerapp create \
5555
--resource-group $RESOURCE_GROUP \
5656
--environment $ACA_ENVIRONMENT \
5757
--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 \
5959
--target-port 8050 \
6060
--ingress 'external' \
6161
--query configuration.ingress.fqdn

https-frontend/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
@app.route('/hello', methods=['GET'])
2626
def getHello():
2727
helloRequest = greet_pb2.HelloRequest(name='Azure Container Apps')
28-
response = greeter.SayHello(helloRequest, timeout=15)
28+
response = greeter.SayHello(helloRequest, timeout=25)
2929
return response.message
3030

3131
app.run(host='0.0.0.0', port=os.getenv('PORT', '8050'))

0 commit comments

Comments
 (0)