mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Adjust timeout
This commit is contained in:
parent
b075e31ecc
commit
6442f7925f
@ -549,7 +549,7 @@ public final class SqliteValueBox: ValueBox {
|
|||||||
postboxLog("Timeout reached, discarding database")
|
postboxLog("Timeout reached, discarding database")
|
||||||
try? FileManager.default.removeItem(atPath: databasePath)
|
try? FileManager.default.removeItem(atPath: databasePath)
|
||||||
|
|
||||||
preconditionFailure()
|
exit(0)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
let status = sqlite3_prepare_v2(database.handle, "SELECT * FROM sqlite_master LIMIT 1", -1, &statement, nil)
|
let status = sqlite3_prepare_v2(database.handle, "SELECT * FROM sqlite_master LIMIT 1", -1, &statement, nil)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user