Clarification on handling of Unhealthy workers

According to documentation based on /ping endpoint response, it's mentioned that Unhealthy workers are automatically removed from the routing pool in the worker pool. Does this mean those workers will be killed or they will not be getting routed traffic until they become healthy ? If the latter is the case is there a configurable max time for being unhealthy ?

I have a usecase where i need to run compute heavy job and i dont want a single worker to work on more than the specified no of tasks. Im wondering if i can utilize ping endpoint to stop worker from accepting new requests if it has reached the job limit ?
Was this page helpful?