Skip to content
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

Refactor device data #437

Merged
merged 9 commits into from
May 20, 2024
Merged

Refactor device data #437

merged 9 commits into from
May 20, 2024

Conversation

kegsay
Copy link
Member

@kegsay kegsay commented May 17, 2024

Fixes #435

Migration for 10k devices takes around 10-15mins, depending on the size of the accumulated device list updates (particularly monstrous on matrix.org). This isn't great, but isn't awful.

@kegsay kegsay requested a review from devonh May 17, 2024 16:08
Copy link

@devonh devonh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall this looks great!

sync2/handler2/handler.go Outdated Show resolved Hide resolved
state/device_list_table.go Outdated Show resolved Hide resolved
state/migrations/20240517104423_device_list_table.go Outdated Show resolved Hide resolved
@kegsay kegsay merged commit 1551ccd into main May 20, 2024
7 checks passed
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.

perf: refactor device data table
2 participants