Skip to content

Commit

Permalink
build(gradle): Update gradle.properties (datahub-project#11458)
Browse files Browse the repository at this point in the history
  • Loading branch information
david-leifker authored Sep 23, 2024
1 parent d696dbe commit 68b188a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/docker-unified.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1030,6 +1030,7 @@ jobs:
TEST_STRATEGY: ${{ matrix.test_strategy }}
run: |
echo "$DATAHUB_VERSION"
./gradlew --stop
./smoke-test/smoke.sh
- name: Disk Check
run: df -h . && docker images
Expand Down
7 changes: 6 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,13 @@ org.gradle.configureondemand=true
org.gradle.parallel=true
org.gradle.caching=true

# Cycle daemons after 30m
org.gradle.daemon.idletimeout=1800000

# Increase gradle JVM memory to 5GB to allow tests to run locally
org.gradle.jvmargs=-Xmx5120m
org.gradle.jvmargs=-Xmx5120m -XX:MaxMetaspaceSize=512m
org.gradle.workers.max=4

# Increase retries to 5 (from default of 3) and increase interval from 125ms to 1s.
# Based on this thread https://github.com/gradle/gradle/issues/4629, it's unclear
# if we should be using systemProp or not. We're using both for now.
Expand Down

0 comments on commit 68b188a

Please sign in to comment.