Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nadav3396 committed May 21, 2024
1 parent fef914a commit 532339d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions scripts/checks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
set -eo pipefail

java -jar libs/google-java-format-1.7-all-deps.jar --set-exit-if-changed -i -a $(find . -type f -name "*.java" | grep ".*/src/.*java")
mvn -X -f agent/pom.xml clean package
mvn -X clean package
mvn -f agent/pom.xml clean package
mvn clean package
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,10 @@ public int maxRequestSize() {
}

public int maxBatchMessageIds() {
return envUtil.getIntegerEnv(LUMIGO_MAX_BATCH_MESSAGE_IDS, 20);
int value = envUtil.getIntegerEnv(LUMIGO_MAX_BATCH_MESSAGE_IDS, 20);
if (value == 0) {
value = 20;
}
return value;
}
}

0 comments on commit 532339d

Please sign in to comment.