File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
WooCommerce/Classes/Tools/BackgroundTasks Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ final class BackgroundTaskRefreshDispatcher {
6161 // Launch all refresh tasks in parallel.
6262 let refreshTasks = Task {
6363 do {
64- let systemInfo = await BackgroundTaskSystemInfo ( )
64+ async let systemInfo = BackgroundTaskSystemInfo ( )
6565
6666 let startTime = Date . now
6767
@@ -86,7 +86,7 @@ final class BackgroundTaskRefreshDispatcher {
8686 timeSinceLastRun = round ( lastRunTime. timeIntervalSinceNow. magnitude)
8787 }
8888
89- ServiceLocator . analytics. track ( event: . BackgroundUpdates. dataSynced (
89+ await ServiceLocator . analytics. track ( event: . BackgroundUpdates. dataSynced (
9090 timeTaken: timeTaken,
9191 backgroundTimeGranted: systemInfo. backgroundTimeGranted,
9292 networkType: systemInfo. networkType,
You can’t perform that action at this time.
0 commit comments