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

Better handling of parent type and parallelized update of fields #1348

Merged
merged 1 commit into from
Sep 11, 2023

Conversation

philipperolet
Copy link
Contributor

  1. Fix an issue related to unexpected parent types The issue generates unhandled activity errors, it was fixed earlier for null in PR Handle null parent type case in notion #1318 . Another much rarer case is 'unknown'. Comments are added to explain

  2. Speed up the update by parallelizing queries with a factor 16 (anticipating moving top level folders with e.g. 1OK docs => might take up to 30mns if not parallelized)

1. Fix an issue related to unexpected parent types
The issue generates unhandled activity errors, it was fixed earlier
for null in PR #1318 . Another much rarer case is 'unknown'. Comments
are added to explain

2. Speed up the update by parallelizing queries with a factor
16 (anticipating moving top level folders with e.g. 1OK docs => might
take up to 30mns if not parallelized)
@philipperolet
Copy link
Contributor Author

Simple code, that I tested well, so merging. Post-merge review welcome

@philipperolet philipperolet merged commit 24350ca into main Sep 11, 2023
1 check passed
@philipperolet philipperolet deleted the ds-notion-parents-better-handling branch September 11, 2023 07:04
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.

1 participant