Skip to content

Commit 88fe5e9

Browse files
committed
updated limits (for ISU server)
1 parent 9b2ead8 commit 88fe5e9

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

server/touchterrain_config.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,17 @@
1111
NUM_CORES = 0 # 0 means: use all cores
1212
if SERVER_TYPE == "paste": NUM_CORES = 1 # 1 means don't use multi-core at all
1313

14-
# when to use tempfiles instead of memory to store processed tiles
15-
MAX_CELLS = 500 * 500 # if DEM has > this number of cells, use tempfile instead of memory
14+
# for STL/OBJ don't even start with a DEM bigger than that number. GeoTiff export is this * 50!
15+
MAX_CELLS_PERMITED = 1000 * 1000 * 0.4
16+
17+
# if DEM has > this number of cells, use tempfile instead of memory
18+
MAX_CELLS = MAX_CELLS_PERMITED / 4
1619

17-
MAX_CELLS_PERMITED = 1000 * 1000 * 2 # for STL/OBJ don't even start with a DEM bigger than that number. GeoTiff export is this * 50!
1820

1921
TMP_FOLDER = "tmp" # local to this folder! for temp files and final zip
2022
#--------------------------------------------------------------------------------
2123

2224
# Overrides
2325
#MAX_CELLS = 0 # CH: test to force using tempfiles
26+
~
27+
~

0 commit comments

Comments
 (0)