Mercurial > public > ssdt-docker
changeset 138:ddecbf87f5a7 hotfix/v1.1.1
DEP-12: increase usas import memory, disable leak detection in importer
author | smith@nwoca.org |
---|---|
date | Fri, 16 Jun 2017 16:54:47 +0100 |
parents | ac155283b784 |
children | 9aabd0f7d165 |
files | compose/preview/import-usas.yml compose/preview/import-usps.yml |
diffstat | 2 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/compose/preview/import-usas.yml Fri Jun 16 16:34:47 2017 +0100 +++ b/compose/preview/import-usas.yml Fri Jun 16 16:54:47 2017 +0100 @@ -1,9 +1,16 @@ usasimport: image: docker.ssdt.io/usas-import:preview + entrypoint: + - java + - -Xmx1600m + - -XX:MaxMetaspaceSize=256m + - -jar + - /opt/import/usas-import.jar command: -i ${IMP_IRN} -u ${IMP_URL} -r ${IMP_PATH} links: - usasdb:database environment: + - DB_POOL_LEAKDETECTIONTHRESHOLD=0 - DB_HOST=database - DB_NAME=$${DATABASE_ENV_DB_NAME} - DB_USER=$${DATABASE_ENV_DB_USER}
--- a/compose/preview/import-usps.yml Fri Jun 16 16:34:47 2017 +0100 +++ b/compose/preview/import-usps.yml Fri Jun 16 16:54:47 2017 +0100 @@ -4,6 +4,7 @@ links: - uspsdb:database environment: + - DB_POOL_LEAKDETECTIONTHRESHOLD=0 - DB_HOST=database - DB_NAME=$${DATABASE_ENV_DB_NAME} - DB_USER=$${DATABASE_ENV_DB_USER}