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

Batch activity updates while merging organizations #1714

Merged
merged 5 commits into from
Oct 17, 2023

Conversation

epipav
Copy link
Collaborator

@epipav epipav commented Oct 17, 2023

Changes proposed ✍️

What

🤖 Generated by Copilot at 555b22c

Improved the performance of updateOrganizationInActivities method in organizationRepository.ts by using a batch update strategy. This method is used to migrate activities when an organization is merged or deleted.

🤖 Generated by Copilot at 555b22c

updateOrganization
Batch strategy for speed
Autumn leaves falling

Why

How

🤖 Generated by Copilot at 555b22c

  • Improve performance and avoid locking issues when updating activities for organization migration (link)

Checklist ✅

  • Label appropriately with Feature, Improvement, or Bug.
  • Add screehshots to the PR description for relevant FE changes
  • New backend functionality has been unit-tested.
  • API documentation has been updated (if necessary) (see docs on API documentation).
  • Quality standards are met.

@epipav epipav marked this pull request as ready for review October 17, 2023 14:03
@epipav epipav self-assigned this Oct 17, 2023
@epipav epipav added the Improvement Created by Linear-GitHub Sync label Oct 17, 2023
@epipav epipav merged commit 859a6be into main Oct 17, 2023
7 checks passed
@epipav epipav deleted the improvement/organization-merging-batch-activity-updates branch October 17, 2023 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Improvement Created by Linear-GitHub Sync
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants