Database is locked #26
Labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Miroslavsckaya/tg_rss_bot#26
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Find out why the database is locked and solve this
Check this out and think if we need global thread lock:
https://gist.github.com/rianhunter/10bfcff17c18d112de16?permalink_comment_id=3122052#gistcomment-3122052
Also this could probably be caused by two scripts running with the same database open simultaneously:
https://docs.pyrogram.org/faq/sqlite3-operationalerror-database-is-locked
Closed in favor of #15. PostgreSQL is much more compatible with multiple simultaneous clients.