Skip to content

Commit

Permalink
fix: Handle buggy orm field loading when destroy session (#1312)
Browse files Browse the repository at this point in the history
Co-authored-by: Joongi Kim <joongi@lablup.com>
Backported-from: main
Backported-to: 23.03
  • Loading branch information
fregataa and achimnol committed Jun 5, 2023
1 parent 94cc754 commit 2757a9e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ python_requirements(
"types-PyYAML": ["yaml"],
"types-python-dateutil": ["dateutil", "dateutil.parser", "dateutil.tz"],
"types-redis": ["redis"],
"types-six": ["six"],
"types-six": ["six", "graphql", "promise"],
"types-tabulate": ["tabulate"],
},
)
1 change: 1 addition & 0 deletions changes/1312.fix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Handle buggy ORM field loading when destroy session.
2 changes: 1 addition & 1 deletion src/ai/backend/manager/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -1629,7 +1629,7 @@ async def destroy_session(
await self.event_producer.produce_event(
SessionCancelledEvent(
session_id,
kernel.session_creation_id,
target_session.creation_id,
reason,
),
)
Expand Down

0 comments on commit 2757a9e

Please sign in to comment.