Skip to content

Commit e57f0ff

Browse files
experiment(app): avoid nested cursors in session_queue service
SQLite cursors are meant to be lightweight and not reused. For whatever reason, we reuse one per service for the entire app lifecycle. This can cause issues where a cursor is used twice at the same time in different transactions. This experiment makes the session queue use a fresh cursor for each method, hopefully fixing the issue.
1 parent feee4c4 commit e57f0ff

File tree

1 file changed

+92
-72
lines changed

1 file changed

+92
-72
lines changed

0 commit comments

Comments
 (0)