Skip to content

Commit

Permalink
hot fix timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
idocx committed May 14, 2024
1 parent 616fcde commit 0ffe474
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alab_management/resource_manager/resource_requester.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ def request_resources(
except concurrent.futures.TimeoutError as e:
# if the request is not fulfilled, cancel it to make sure the resources are released
request = self._request_collection.find_one_and_update({
"_id": result.inserted_id,
"_id": _id,
"status": {"$ne": RequestStatus.FULFILLED.name}
}, {
"$set": {
Expand Down

0 comments on commit 0ffe474

Please sign in to comment.