Skip to content
Snippets Groups Projects

Add patch to fix limit use in loading GH install list

Merged Martin Lowe requested to merge (removed):malowe/main/141 into main
1 file
+ 5
1
Compare changes
  • Side-by-side
  • Inline
@@ -148,7 +148,11 @@ public class DefaultGithubApplicationService implements GithubApplicationService
// build query to do fetch of records for currently active application
MultivaluedMap<String, String> params = new MultivaluedMapImpl<>();
params.add(GitEcaParameterNames.APPLICATION_ID_RAW, Integer.toString(config.github().appId()));
return dao.get(new RDBMSQuery<>(wrap, filters.get(GithubApplicationInstallation.class), params));
// we don't want to use the limit, as we want to pull all of the records we can find
RDBMSQuery<GithubApplicationInstallation> q = new RDBMSQuery<>(wrap, filters.get(GithubApplicationInstallation.class), params);
q.setUseLimit(false);
return dao.get(q);
}
}
Loading