Skip to content

Commit

Permalink
Fixes scheduler memory usage explosion (hydro-project#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
cw75 authored Jun 29, 2020
1 parent 9148776 commit d507f7a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cloudburst/server/scheduler/policy/default_policy.py
Original file line number Diff line number Diff line change
Expand Up @@ -450,4 +450,5 @@ def update_function_locations(self, new_locations):
self.function_locations[function_name] = []

key = (location.ip, location.tid)
self.function_locations[function_name].append(key)
if key not in self.function_locations[function_name]:
self.function_locations[function_name].append(key)

0 comments on commit d507f7a

Please sign in to comment.