Skip to content

Commit

Permalink
fix a N+1 issue while logging in production
Browse files Browse the repository at this point in the history
  • Loading branch information
stitch committed Feb 19, 2025
1 parent 2acc159 commit 2718206
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def check_running_dashboard_scans(**kwargs) -> Task:
.only("id")
)

log.debug(f"Checking the state of scan {scans}.")
log.debug(f"Checking the state of scan {[scan.id for scan in scans]}.")
tasks = [progress_running_scan(scan.id) for scan in scans]

# All transactional state stuff is done now, so remove the lock
Expand Down

0 comments on commit 2718206

Please sign in to comment.