Skip to content

[HTTP] RemoveStalePools should never run in parallel #61505

Closed
@ManickaP

Description

@ManickaP

In certain cases, when there is a lot of different hosts and thus a lot of pools in pool manager (around 1 million from the customer report). And if scavenge timer (_cleaningTimer, _cleanPoolTimeout) gets triggered very often. The previous callback might still be running (even multiple of them) and thus causing rising number of handles.

The timer itself should never in parallel, we should start the cleanup logic while a previous callback is still processing.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions