Fix bug in which remote function redefinition doesn't happen. (#6175)

This commit is contained in:
Robert Nishihara
2019-11-26 11:19:19 -06:00
committed by Edward Oakes
parent 7f8de61441
commit ffb9c0ecae
6 changed files with 256 additions and 47 deletions
+4
View File
@@ -51,6 +51,10 @@ DEFAULT_ACTOR_METHOD_NUM_RETURN_VALS = 1
# greater than this quantity, print an warning.
PICKLE_OBJECT_WARNING_SIZE = 10**7
# If remote functions with the same source are imported this many times, then
# print a warning.
DUPLICATE_REMOTE_FUNCTION_THRESHOLD = 100
# 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.