mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-02 00:17:02 +00:00
Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios
This commit is contained in:
commit
138bc7d0ed
@ -190,7 +190,7 @@ public final class StorageBox {
|
|||||||
valueBox = SqliteValueBox(basePath: databasePath, queue: queue, isTemporary: false, isReadOnly: false, useCaches: isMainProcess, removeDatabaseOnError: isMainProcess, encryptionParameters: nil, upgradeProgress: { _ in })
|
valueBox = SqliteValueBox(basePath: databasePath, queue: queue, isTemporary: false, isReadOnly: false, useCaches: isMainProcess, removeDatabaseOnError: isMainProcess, encryptionParameters: nil, upgradeProgress: { _ in })
|
||||||
}
|
}
|
||||||
|
|
||||||
guard let valueBox else {
|
guard let valueBox = valueBox else {
|
||||||
postboxLog("Giving up on opening value box at \(basePath + "/db")")
|
postboxLog("Giving up on opening value box at \(basePath + "/db")")
|
||||||
postboxLogSync()
|
postboxLogSync()
|
||||||
preconditionFailure()
|
preconditionFailure()
|
||||||
|
@ -105,7 +105,7 @@ final class AccountManagerImpl<Types: AccountManagerTypes> {
|
|||||||
Thread.sleep(forTimeInterval: 0.1 + 0.5 * Double(i))
|
Thread.sleep(forTimeInterval: 0.1 + 0.5 * Double(i))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
guard let valueBox else {
|
guard let valueBox = valueBox else {
|
||||||
postboxLog("Giving up on opening value box at \(basePath + "/db")")
|
postboxLog("Giving up on opening value box at \(basePath + "/db")")
|
||||||
postboxLogSync()
|
postboxLogSync()
|
||||||
preconditionFailure()
|
preconditionFailure()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user