Update max resource label and give better error message (#5916)

This commit is contained in:
Philipp Moritz
2019-10-16 22:37:01 -07:00
committed by GitHub
parent 6c11b534c8
commit 32b2907457
2 changed files with 10 additions and 7 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ PICKLE_OBJECT_WARNING_SIZE = 10**7
# The maximum resource quantity that is allowed. TODO(rkn): This could be
# relaxed, but the current implementation of the node manager will be slower
# for large resource quantities due to bookkeeping of specific resource IDs.
MAX_RESOURCE_QUANTITY = 20000
MAX_RESOURCE_QUANTITY = 40000
# Each memory "resource" counts as this many bytes of memory.
MEMORY_RESOURCE_UNIT_BYTES = 50 * 1024 * 1024