Skip to content

Commit

Permalink
Merge pull request #129 from hms-dbmi/feature/distributed-hpds
Browse files Browse the repository at this point in the history
Changes to support java 21 / spring boot
  • Loading branch information
ramari16 authored Mar 13, 2024
2 parents 8d473cf + 2fd8ade commit 04889ed
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app-infrastructure/auth-hpds-instance.tf
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@ resource "aws_instance" "auth-hpds-ec2" {
http_tokens = "required"
instance_metadata_tags = "enabled"
}
}
}
2 changes: 1 addition & 1 deletion app-infrastructure/scripts/auth_hpds-user_data.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ sudo docker run --name=$CONTAINER_NAME \
--log-driver syslog --log-opt tag=auth-hpds \
-v /opt/local/hpds:/opt/local/hpds \
-p 8080:8080 \
-e CATALINA_OPTS=" -XX:+UseParallelGC -XX:SurvivorRatio=250 -Xms10g -Xmx110g -DCACHE_SIZE=2500 -DSMALL_TASK_THREADS=1 -DLARGE_TASK_THREADS=1 -DSMALL_JOB_LIMIT=100 -DID_BATCH_SIZE=5000 '-DALL_IDS_CONCEPT=NONE' '-DID_CUBE_NAME=NONE'" \
-e JAVA_OPTS=" -XX:+UseParallelGC -XX:SurvivorRatio=250 -Xms10g -Xmx128g -Dserver.port=8080 -Dspring.profiles.active=development -DCACHE_SIZE=2500 -DID_BATCH_SIZE=5000 -DALL_IDS_CONCEPT=NONE -DID_CUBE_NAME=NONE " \
-d $HPDS_IMAGE

echo "Waiting for container to initialize"
Expand Down
2 changes: 1 addition & 1 deletion app-infrastructure/scripts/open_hpds-user_data.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ sudo docker run --name=$CONTAINER_NAME \
--log-driver syslog --log-opt tag=open-hpds \
-v /opt/local/hpds:/opt/local/hpds \
-p 8080:8080 \
-e CATALINA_OPTS=" -XX:+UseParallelGC -XX:SurvivorRatio=250 -Xms10g -Xmx40g -DCACHE_SIZE=2500 -DSMALL_TASK_THREADS=1 -DLARGE_TASK_THREADS=1 -DSMALL_JOB_LIMIT=100 -DID_BATCH_SIZE=5000 " \
-e JAVA_OPTS=" -XX:+UseParallelGC -XX:SurvivorRatio=250 -Xms10g -Xmx40g -Dserver.port=8080 -Dspring.profiles.active=open -DCACHE_SIZE=2500 -DSMALL_TASK_THREADS=1 -DLARGE_TASK_THREADS=1 -DSMALL_JOB_LIMIT=100 -DID_BATCH_SIZE=5000 " \
-d $HPDS_IMAGE

echo "Waiting for container to initialize"
Expand Down

0 comments on commit 04889ed

Please sign in to comment.