elixir-sqlite / sqlite_ecto2

Sqlite3 adapter for Ecto 2.2.x
https://hex.pm/packages/sqlite_ecto2
MIT License
120 stars 33 forks source link

Random case clause error #204

Closed ConnorRigby closed 6 years ago

ConnorRigby commented 6 years ago

I'm getting this error seemingly randomly, but pretty frequently:

** (CaseClauseError) no case clause matching: {:raise, 
%Sqlite.DbConnection.Error{connection_id: nil, message: "Disconnected", sqlite: nil}}

I've noticed this is happening in travis too

michaelkschmidt commented 6 years ago

We fight this a lot too. I believe it is caused by a GenServer timeout anytime SQLite takes longer than 5s to complete an operation