From 29b0c31cddff4ec7776c1e3a626bd275939b2e8a Mon Sep 17 00:00:00 2001 From: Chris Date: Thu, 7 Mar 2019 18:11:05 -0600 Subject: [PATCH] change quotas to work with the new system --- server/touchterrain_config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/touchterrain_config.py b/server/touchterrain_config.py index f3ef225..ec4ca07 100644 --- a/server/touchterrain_config.py +++ b/server/touchterrain_config.py @@ -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 #--------------------------------------------------------------------------------