removes injected latency for health check
This commit is contained in:
parent
4840f0eae8
commit
52fe75085b
1 changed files with 0 additions and 1 deletions
|
@ -242,7 +242,6 @@ func parseCatalog() []*pb.Product {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (p *productCatalog) Check(ctx context.Context, req *healthpb.HealthCheckRequest) (*healthpb.HealthCheckResponse, error) {
|
func (p *productCatalog) Check(ctx context.Context, req *healthpb.HealthCheckRequest) (*healthpb.HealthCheckResponse, error) {
|
||||||
injectSleep()
|
|
||||||
return &healthpb.HealthCheckResponse{Status: healthpb.HealthCheckResponse_SERVING}, nil
|
return &healthpb.HealthCheckResponse{Status: healthpb.HealthCheckResponse_SERVING}, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue