you are viewing a single comment's thread
view the rest of the comments
[–] 0 points 1 year ago (1 child)

SQLite puts all of the responsibility on users to handle this

Thanks for the explanation.
I feel like the one who decided this behaviour, expected the users of the database, to make their own system of prioritising the transactions.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 2 points 1 year ago

    More likely: SQLite is built to be small, simple and lightweight, not to be super highly concurrent.

    If this situation happens rarely, just make sure you have a retry on the query. If it happens often, switch to postgres.

  • source
  • parent