bump periodic sync to 15min (IDLE is fast path), add MIMEParser to app targets

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-14 13:44:41 +01:00
parent 961f87359a
commit 55ec465677
2 changed files with 5 additions and 1 deletions

View File

@@ -40,6 +40,8 @@ targets:
product: SMTPClient
- package: MagnumOpusCore
product: TaskStore
- package: MagnumOpusCore
product: MIMEParser
MagnumOpus-iOS:
type: application
platform: iOS
@@ -69,6 +71,8 @@ targets:
product: SMTPClient
- package: MagnumOpusCore
product: TaskStore
- package: MagnumOpusCore
product: MIMEParser
MagnumOpusTests:
type: bundle.unit-test
platform: macOS

View File

@@ -392,7 +392,7 @@ public final class SyncCoordinator {
// MARK: - Periodic Sync
public func startPeriodicSync(interval: Duration = .seconds(300)) {
public func startPeriodicSync(interval: Duration = .seconds(900)) {
stopSync()
syncTask = Task { [weak self] in
while !Task.isCancelled {