Skip to content

Commit

Permalink
hotfix: Indentation error in #1226
Browse files Browse the repository at this point in the history
  • Loading branch information
achimnol committed Feb 28, 2024
1 parent 714c119 commit 8a49637
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions src/ai/backend/manager/scheduler/predicates.py
Original file line number Diff line number Diff line change
Expand Up @@ -406,17 +406,16 @@ async def check_pending_session_resource_limit(
)
)
failure_msgs.append(msg)

log.debug(
"access key:{} current-occupancy of pending sessions: {}",
sess_ctx.access_key,
current_pending_session_slots,
)
log.debug(
"access key:{} total-allowed of pending sessions: {}",
sess_ctx.access_key,
pending_resource_limit,
)
log.debug(
"access key:{} current-occupancy of pending sessions: {}",
sess_ctx.access_key,
current_pending_session_slots,
)
log.debug(
"access key:{} total-allowed of pending sessions: {}",
sess_ctx.access_key,
pending_resource_limit,
)
if not result:
return PredicateResult(False, "\n".join(failure_msgs))
return PredicateResult(True)

0 comments on commit 8a49637

Please sign in to comment.