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

0.7.4 #59

Merged
merged 4 commits into from
Nov 16, 2023
Merged

0.7.4 #59

merged 4 commits into from
Nov 16, 2023

Conversation

mlodic
Copy link
Member

@mlodic mlodic commented Nov 16, 2023

Checklist for creating a new release

  • Update CHANGELOG.md for the new version
  • Change version number in certego_saas/version.py
  • Verify CI Tests
  • Merge the PR to the main branch. Note: Only use "Merge and commit" as the merge strategy and not "Squash and merge". Using "Squash and merge" makes history between branches misaligned.
  • Create release for the branch main.

@mlodic mlodic requested a review from 0ssigeno November 16, 2023 14:33
@@ -51,7 +51,8 @@ def upload(
logger.info(f"Uploading {docs.count()} documents")
jsons = map(lambda x: x.to_bulk(), docs)
success, errors = bulk(client, jsons, request_timeout=timeout)
docs.delete()
for doc in docs:
Copy link
Contributor

Choose a reason for hiding this comment

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

If this is to prevent oom, this is not enough, since the docs will be loaded in memory. Use the .iterator()

@mlodic mlodic merged commit 60d2078 into main Nov 16, 2023
4 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.

2 participants