mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Made sync status sequential so that we stop losing statuses when we automatically send them on exceeding 100 statuses
This commit is contained in:
@@ -32,8 +32,8 @@ public struct SyncDatabase {
|
||||
|
||||
// MARK: - API
|
||||
|
||||
public func insertStatuses(_ statuses: [SyncStatus], completion: DatabaseCompletionBlock? = nil) {
|
||||
syncStatusTable.insertStatuses(statuses, completion: completion)
|
||||
public func insertStatuses(_ statuses: [SyncStatus]) throws {
|
||||
try syncStatusTable.insertStatuses(statuses)
|
||||
}
|
||||
|
||||
public func selectForProcessing(completion: @escaping SyncStatusesCompletionBlock) {
|
||||
|
||||
Reference in New Issue
Block a user