Skip to content

fix: validate expiration_thread_max_checks_per_iteration is not negative#56

Merged
fabien-marty merged 1 commit intomainfrom
main-ddd
Mar 6, 2026
Merged

fix: validate expiration_thread_max_checks_per_iteration is not negative#56
fabien-marty merged 1 commit intomainfrom
main-ddd

Conversation

@fabien-marty
Copy link
Copy Markdown
Owner

Summary

  • Adds a ValueError in Storage.__post_init__() when expiration_thread_max_checks_per_iteration is negative, consistent with validation of other parameters
  • Adds a test case to test_storage_invalid_parameters verifying the new validation

Closes #53

Made with Cursor

Add a ValueError when expiration_thread_max_checks_per_iteration is
negative in Storage.__post_init__(), consistent with the other parameter
validations. Add a corresponding test case.

Fixes #53

Made-with: Cursor
@fabien-marty fabien-marty merged commit 6bd36f4 into main Mar 6, 2026
9 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.

Code: No validation for negative expiration_thread_max_checks_per_iteration

1 participant