Skip to content

Commit

Permalink
change quotas to work with the new system
Browse files Browse the repository at this point in the history
  • Loading branch information
ChHarding committed Mar 8, 2019
1 parent a4834f6 commit 29b0c31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/touchterrain_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
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 = 1000 * 1000 # if DEM has > this number of cells, use tempfile instead of memory
MAX_CELLS = 500 * 500 # if DEM has > this number of cells, use tempfile instead of memory

MAX_CELLS_PERMITED = 1000 * 1000 * 5 # for STL/OBJ don't even start with a DEM bigger than that number. GeoTiff export is this * 50!
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
#--------------------------------------------------------------------------------
Expand Down

0 comments on commit 29b0c31

Please sign in to comment.