Skip to content

Update user property clientTimezone only if changed #89

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 12, 2025

Conversation

icrc-psousa
Copy link
Contributor

This modification ensures that clientTimezone global property is only updated when the new value differs from existing one. This avoids overhead caused by unnecessary writes as the method is frequently called with the same value on each page refresh.

@icrc-psousa icrc-psousa requested review from dkayiwa and ibacher June 12, 2025 08:41
@dkayiwa dkayiwa merged commit 467b1c2 into master Jun 12, 2025
5 checks passed
@dkayiwa
Copy link
Member

dkayiwa commented Jun 12, 2025

Thanks @icrc-psousa 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants