Skip to content

Commit

Permalink
chore: increase redis connections and wait queue (#350)
Browse files Browse the repository at this point in the history
Signed-off-by: Ruben Romero Montes <rromerom@redhat.com>
  • Loading branch information
ruromero authored May 17, 2024
1 parent 7dc881a commit 873692a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions deploy/openshift/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,10 @@ objects:
value: '8080'
- name: QUARKUS_MANAGEMENT_PORT
value: '9000'
- name: QUARKUS_REDIS_MAX_POOL_SIZE
value: '20'
- name: QUARKUS_REDIS_MAX_POOL_WAITING
value: '100'
securityContext:
runAsNonRoot: true
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ private List<Issue> toIssues(String ref, ArrayNode response) {
var issue = new Issue().source(Constants.OSV_NVD_PROVIDER);

String cve = getTextValue(data, "cveId");
if (cve == null) {
return;
}
issue.id(cve).cves(List.of(cve));
issue.title(getTextValue(data, "summary"));
if (issue.getTitle() == null || issue.getTitle().isEmpty()) {
Expand Down

0 comments on commit 873692a

Please sign in to comment.