Skip to content

Commit 666e35a

Browse files
authored
feat(ads-client): enable automatic context_id rotation every 3 days (#7206)
1 parent 5ef3a3e commit 666e35a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
* Reset cache on context ID rotation.
3737
* Enable staging environment support for all platforms (previously feature-gated)
3838
* Temporarily disable cache invalidation on click and impression recording (will be re-enabled behind Nimbus experiment)
39+
* Enable automatic context_id rotation every 3 days
3940

4041
### Android
4142
* Upgraded Kotlin compiler from 2.2.21 to 2.3.0 ([#7183](https://github.com/mozilla/application-services/pull/7183))

components/ads-client/src/client.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ where
202202
}
203203

204204
pub fn get_context_id(&self) -> context_id::ApiResult<String> {
205-
self.context_id_component.request(0)
205+
self.context_id_component.request(3)
206206
}
207207

208208
pub fn cycle_context_id(&mut self) -> context_id::ApiResult<String> {

0 commit comments

Comments
 (0)