Skip to content
This repository was archived by the owner on Mar 15, 2021. It is now read-only.
This repository was archived by the owner on Mar 15, 2021. It is now read-only.

Lower thread pool timeout #105

@aikar

Description

@aikar

ExecutorThreadPool pool = new ExecutorThreadPool(2, maxconnections, 60, TimeUnit.SECONDS, queue);

I noticed in debugger that I had a ton of "etp" threads. Traced it down to jetty from dynmap.

The code times them out in 60 seconds, but I'm afraid that each thread is eventually popping 1 task off within that 60 seconds to keep each thread alive. I do not see threads closing....

suggest dropping it to like 1-5 seconds so that they can close and only open on burst traffic.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions