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

Externalize the size limit for LMDB map size for Baser to an environment variable. #810

Merged
merged 1 commit into from
Jun 28, 2024

Conversation

pfeairheller
Copy link
Member

This PR exposes the KERI_BASER_MAP_SIZE environment variable to allow setting the maximum file size for the main KERIpy LMDB database. By default it is set to 100MB, but LMDB documentation suggests on 64-bit systems it is safe to set it as high as a terabyte or more as long as you have the disk space to handle.

You can also change this value and relaunch any process using KERIpy and it will take effect.

Copy link
Member

@m00sey m00sey left a comment

Choose a reason for hiding this comment

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

🥔

@m00sey m00sey merged commit d70d148 into WebOfTrust:main Jun 28, 2024
6 checks passed
@pfeairheller pfeairheller deleted the feat-expose-map-size branch June 28, 2024 16:26
kentbull pushed a commit to kentbull/keripy that referenced this pull request Jul 8, 2024
s-a-tanjim pushed a commit to provenant-dev/keripy that referenced this pull request Aug 21, 2024
kentbull pushed a commit to kentbull/keripy that referenced this pull request Sep 3, 2024
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