Skip to content

add configuration to limit size of sqlite #179

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

Merged
merged 1 commit into from
Jan 11, 2021

Conversation

tomerd
Copy link
Contributor

@tomerd tomerd commented Jan 10, 2021

motivation: there are use cases where users of the SQLite DB may want to limit its size

changes:

  • introduce SQLiteCache::Configuraiton allowing to set max database size
  • refactor SQLite::checkError to throw more structured errro when database is full, adding infrastructure to other structured errors
  • add tests

motivation: there are use cases where users of the SQLite DB may want to limit its size

changes:
* introduce SQLiteCache::Configuraiton allowing to set max database size
* refactor SQLite::checkError to throw more structured errro when database is full, adding infrastructure to other structured errors
* add tests
@tomerd
Copy link
Contributor Author

tomerd commented Jan 10, 2021

@swift-ci please test

@tomerd tomerd self-assigned this Jan 10, 2021
@tomerd tomerd merged commit 6f0ae42 into swiftlang:main Jan 11, 2021
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