Skip to content

ResourceLeakDetectorFactory.newResourceLeakDetector(Class, int) ignores sampling interval. #10378

@trustin

Description

@trustin

Expected behavior

ResourceLeakDetectorFactory.newResourceLeakDetector(Class, int) should use the second parameter as the sampling interval of the newly created ResourceLeakDetector.

Actual behavior

ResourceLeakDetector.SAMPLING_INTERVAL is used, i.e. cannot customize the sampling interval without using the deprecated newResourceLeakDetector(Class, int, long).

Netty version

4.1.50

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions