Skip to content

Commit a41ecde

Browse files
committed
chore: changelog, add note to fixed code
1 parent 5cd7376 commit a41ecde

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
44
and this project uses the `YYYY.N` version format.
55

6+
## 2025.16 - 2025-11-21
7+
8+
### Fixed
9+
10+
- Problem scanning would sometimes cause deadlock of the database.
11+
612
## 2025.25 - 2025-11-19
713

814
### Added

bullet/problems/logic/results.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ def _set_solved_problems(rr: ResultRow):
107107
.values_list("id", flat=True)
108108
)
109109

110+
# These two queries are separated in order to prevent
111+
# locking the Problem table.
110112
problems = SolvedProblem.objects.filter(id__in=problems).values_list(
111113
"problem__number", flat=True
112114
)

0 commit comments

Comments
 (0)