Skip to content

Commit

Permalink
Renaming retrycount to iteration count
Browse files Browse the repository at this point in the history
Updating BSK commit hash
  • Loading branch information
studiosutara committed Dec 9, 2024
1 parent 4b34c41 commit ff576d2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Core/ContentBlocking.swift
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ public final class ContentBlocking {
domainEvent = .contentBlockingLRCMissing

case .contentBlockingCompilationTaskPerformance(let retryCount, let timeBucketAggregation):
domainEvent = .contentBlockingCompilationTaskPerformance(retryCount: retryCount,
domainEvent = .contentBlockingCompilationTaskPerformance(iterationCount: retryCount,
timeBucketAggregation: Pixel.Event.CompileTimeBucketAggregation(number: timeBucketAggregation))
}

Expand Down
6 changes: 3 additions & 3 deletions Core/PixelEvent.swift
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ extension Pixel {
case contentBlockingNoMatchInLRC
case contentBlockingLRCMissing

case contentBlockingCompilationTaskPerformance(retryCount: Int, timeBucketAggregation: CompileTimeBucketAggregation)
case contentBlockingCompilationTaskPerformance(iterationCount: Int, timeBucketAggregation: CompileTimeBucketAggregation)
case ampBlockingRulesCompilationFailed

case webKitDidTerminate
Expand Down Expand Up @@ -1414,8 +1414,8 @@ extension Pixel.Event {
case .contentBlockingNoMatchInLRC: return "m_content_blocking_no_match_in_lrc"
case .contentBlockingLRCMissing: return "m_content_blocking_lrc_missing"

case .contentBlockingCompilationTaskPerformance(let retryCount, let timeBucketAggregation):
return "m_content_blocking_compilation_loops_\(retryCount)_time_\(timeBucketAggregation)"
case .contentBlockingCompilationTaskPerformance(let iterationCount, let timeBucketAggregation):
return "m_content_blocking_compilation_loops_\(iterationCount)_time_\(timeBucketAggregation)"
case .ampBlockingRulesCompilationFailed: return "m_debug_amp_rules_compilation_failed"

case .webKitDidTerminate: return "m_d_wkt"
Expand Down
2 changes: 1 addition & 1 deletion DuckDuckGo.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -11160,7 +11160,7 @@
repositoryURL = "https://github.com/DuckDuckGo/BrowserServicesKit";
requirement = {
kind = revision;
revision = 79c2fa0f7b12bad49d151e53cbf5dfc267750584;
revision = b9442031de5352dc190782a3af10c609371cc69a;
};
};
9F8FE9472BAE50E50071E372 /* XCRemoteSwiftPackageReference "lottie-spm" */ = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/DuckDuckGo/BrowserServicesKit",
"state" : {
"revision" : "79c2fa0f7b12bad49d151e53cbf5dfc267750584"
"revision" : "b9442031de5352dc190782a3af10c609371cc69a"
}
},
{
Expand Down

0 comments on commit ff576d2

Please sign in to comment.