Skip to content

Commit

Permalink
manager: better document the changing resource states
Browse files Browse the repository at this point in the history
  • Loading branch information
praiskup committed Aug 2, 2023
1 parent 94ca41a commit d8fbec4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion resallocserver/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -472,9 +472,10 @@ def loop(self, event):
# switch UP → DELETE_REQUEST
self._request_resource_removal()

# switch DELETE_REQUEST → ENDED
# switch DELETE_REQUEST → DELETING (→ ENDED on background)
self._garbage_collector(event)

# New in STARTING (slowly switching → UP on background)
self._allocate_more_resources(event)

# Delete all resources that are not recognized by resalloc
Expand Down

0 comments on commit d8fbec4

Please sign in to comment.