Skip to content

change standard FixedThreadPool to jetbrains ExecutorsFactory #9

@beolnix

Description

@beolnix

DOCloudClientFactory:93 Executors.newFixedThreadPool(backgroundThreadsLimit) can prevent server from shutting down, if any thread is stuck.
It is better to use jetbrains.buildServer.util.executors.ExecutorsFactory#newFixedScheduledDaemonExecutor from TC common-api.jar and create an scheduled daemon executor, which you can later use in CloudImageStorageImpl to avoid having a permanent thread.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions