How to increase the busy timeout for the SQLite on Android ?
It would be useful for situations when two threads are simultaneously trying to insert some data to DB and exception is thrown:
android.database.sqlite.SQLiteException: error code 5: database is locked.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…