Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore: Revert to only using 1 timezone support for template DAUs#7721

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Emyrk merged 2 commits intomainfromstevenmasley/template_daus
May 30, 2023

Conversation

Emyrk
Copy link
Member

@EmyrkEmyrk commentedMay 30, 2023
edited
Loading

It took 58min on our dev server. Way longer than I anticipated. Local and tests are quick, so this was unexpected. I just removed the tz offsets from template DAUs for now. I think we should probably figure out a way to optimize this, as this doesn't make sense. Might just be a missing index on Postgres.

Screenshot from 2023-05-30 15-18-23

Until then, this keeps the DAU calculation correct and reverts the template DAUs to just 1 timezone offset. The deployment DAU takes 250ms to do all 24 timezones.

Keeping the logic to support more in case we optimize later
@EmyrkEmyrk requested a review fromcoadlerMay 30, 2023 19:20
@EmyrkEmyrk marked this pull request as ready for reviewMay 30, 2023 19:20
@EmyrkEmyrk merged commit73d795f intomainMay 30, 2023
@EmyrkEmyrk deleted the stevenmasley/template_daus branchMay 30, 2023 19:37
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsMay 30, 2023
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@coadlercoadlercoadler approved these changes

Assignees

@EmyrkEmyrk

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@Emyrk@coadler

[8]ページ先頭

©2009-2025 Movatter.jp