[cartservice] Increases health check timeout (#240)

* Increases cartservice health check rpc timeout

* remove stopwatch from health check

* cleanup

* Cleanup
This commit is contained in:
Megan O'Keefe 2019-08-19 14:28:03 -04:00 committed by GitHub
parent 13b73067c4
commit 156dfcec8a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 13 additions and 15 deletions

View file

@ -15,7 +15,6 @@ namespace cartservice {
public override Task<HealthCheckResponse> Check(HealthCheckRequest request, ServerCallContext context){
Console.WriteLine ("Checking CartService Health");
return Task.FromResult(new HealthCheckResponse {
Status = dependency.Ping() ? HealthCheckResponse.Types.ServingStatus.Serving : HealthCheckResponse.Types.ServingStatus.NotServing
});