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

Speed up recursive item lists #1694

Merged
merged 1 commit into from
Oct 18, 2024
Merged

Speed up recursive item lists #1694

merged 1 commit into from
Oct 18, 2024

Conversation

manthey
Copy link
Member

@manthey manthey commented Oct 18, 2024

Compute permissions sooner. Ensure sort order of results.

Compute permissions sooner.  Ensure sort order of results.
@manthey manthey merged commit 311540d into master Oct 18, 2024
14 checks passed
@manthey manthey deleted the speed-up-recursive-items branch October 18, 2024 16:15
@@ -200,6 +193,7 @@ def _itemFindRecursive( # noqa
if offset:
fullPipeline.append({'$skip': offset})

print(fullPipeline)
Copy link
Member

Choose a reason for hiding this comment

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

Realize this is merged but this print line should probably be removed.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yep. Follow on PR coming.

Copy link
Member Author

Choose a reason for hiding this comment

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

I thought my pre-commit rules would have stopped me.

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