presto-main/src/main/java/io/prestosql/execution/QueryManagerConfig.java/QueryManagerConfig/getMaxStageCount
class QueryManagerConfig:    @Min(1)
    public int getMaxStageCount()
    {
        return maxStageCount;
    }