[cartservice] Increases health check timeout (#240)
* Increases cartservice health check rpc timeout * remove stopwatch from health check * cleanup * Cleanup
This commit is contained in:
parent
13b73067c4
commit
156dfcec8a
4 changed files with 13 additions and 15 deletions
|
@ -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
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue