presto-main/src/main/java/io/prestosql/execution/QueryManagerConfig.java/QueryManagerConfig/setMaxStageCount
class QueryManagerConfig:    @Config("query.max-stage-count")
    public QueryManagerConfig setMaxStageCount(int maxStageCount)
    {
        this.maxStageCount = maxStageCount;
        return this;
    }