Expose MAX_PARALLEL_PSQL to users (#927)

Allow users to override how many import-sql files are loaded in parallel at the same time.

This change should be a noop
This commit is contained in:
Yuri Astrakhan
2020-06-09 09:53:02 -04:00
committed by GitHub
parent 5e65ac8c52
commit 491bb10bd7
2 changed files with 5 additions and 0 deletions

3
.env
View File

@@ -38,3 +38,6 @@ IMPOSM_CONFIG_FILE=/usr/src/app/config/repl_config.json
BORDERS_CLEANUP_FILE=data/borders/cleanup.pbf
BORDERS_PBF_FILE=data/borders/filtered.pbf
BORDERS_CSV_FILE=data/borders/lines.csv
# Number of parallel processes to use when importing sql files
MAX_PARALLEL_PSQL=5