We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 786a89a commit e1990edCopy full SHA for e1990ed
Modules/Sources/Yosemite/Tools/POS/POSCatalogFullSyncService.swift
@@ -161,7 +161,10 @@ private extension POSCatalogFullSyncService {
161
}
162
return downloadURL
163
case .pending, .processing:
164
- DDLogInfo("🟣 Catalog request \(response.status)... (attempt \(attempts + 1)/\(maxAttempts))")
+ // Only logs every 10th attempt to avoid flooding logs for large catalogs.
165
+ if attempts % 10 == 0 {
166
+ DDLogInfo("🟣 Catalog request \(response.status)... (attempt \(attempts + 1)/\(maxAttempts))")
167
+ }
168
try await Task.sleep(nanoseconds: 1_000_000_000) // 1 second
169
attempts += 1
170
case .failed:
0 commit comments