Skip to content

Commit

Permalink
fix(backend): tighten transcation level to stay compatiable with sqlite
Browse files Browse the repository at this point in the history
  • Loading branch information
Eason0729 committed Aug 29, 2024
1 parent 3837b74 commit fc9a619
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/endpoint/problem.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ impl Problem for ArcServer {

let txn = self
.db
.begin_with_config(Some(IsolationLevel::ReadCommitted), None)
.begin()
.await?;

let model = model
Expand Down

0 comments on commit fc9a619

Please sign in to comment.