presto-main/src/main/java/io/prestosql/execution/TaskManagerConfig.java/TaskManagerConfig/setMaxWorkerThreads
class TaskManagerConfig:    @LegacyConfig("task.shard.max-threads")
    @Config("task.max-worker-threads")
    public TaskManagerConfig setMaxWorkerThreads(int maxWorkerThreads)
    {
        this.maxWorkerThreads = maxWorkerThreads;
        return this;
    }