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