kopia lustrzana https://github.com/openmaptiles/openmaptiles
				
				
				
			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 nooppull/922/head^2
							rodzic
							
								
									5e65ac8c52
								
							
						
					
					
						commit
						491bb10bd7
					
				
							
								
								
									
										3
									
								
								.env
								
								
								
								
							
							
						
						
									
										3
									
								
								.env
								
								
								
								
							|  | @ -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 | ||||
|  |  | |||
|  | @ -40,6 +40,8 @@ services: | |||
|       BORDERS_CLEANUP_FILE: ${BORDERS_CLEANUP_FILE} | ||||
|       BORDERS_PBF_FILE: ${BORDERS_PBF_FILE} | ||||
|       BORDERS_CSV_FILE: ${BORDERS_CSV_FILE} | ||||
|       # Control import-sql processes | ||||
|       MAX_PARALLEL_PSQL: ${MAX_PARALLEL_PSQL} | ||||
|     networks: | ||||
|       - postgres_conn | ||||
|     volumes: | ||||
|  |  | |||
		Ładowanie…
	
		Reference in New Issue
	
	 Yuri Astrakhan
						Yuri Astrakhan