Skip to content

Thread pools should be created with NamedThreadFactory for identification #9

Description

@CodeIngL

里面看到了NamedThreadFactory。为了更好区分线程信息,应该

Executors.newScheduledThreadPool(x)

进行修改

new ScheduledThreadPoolExecutor(X, new NamedThreadFactory("stl-${something}"));

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

kind/enhancementCategory issues or prs related to enhancement.

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions