Skip to content

Commit

Permalink
updated limits (for ISU server)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChHarding committed Mar 8, 2019
1 parent 9b2ead8 commit 88fe5e9
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions server/touchterrain_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,17 @@
NUM_CORES = 0 # 0 means: use all cores
if SERVER_TYPE == "paste": NUM_CORES = 1 # 1 means don't use multi-core at all

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

# if DEM has > this number of cells, use tempfile instead of memory
MAX_CELLS = MAX_CELLS_PERMITED / 4

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!

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

# Overrides
#MAX_CELLS = 0 # CH: test to force using tempfiles
~
~

0 comments on commit 88fe5e9

Please sign in to comment.