Skip to content

fix(storage): improve TTL feature handling in contains_key operations #4

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 3 commits into from
Jun 28, 2025

Conversation

bittcrafter
Copy link
Contributor

No description provided.

- Added proper conditional compilation for TTL feature in contains_key methods:
  * _self_map_contains_key
  * _self_list_contains_key
  * _self_contains_key
- Without TTL feature, now directly checks underlying storage:
  * Calls _map_contains_key for map storage
  * Calls _list_contains_key for list storage
  * Calls _kv_contains_key for key-value storage
- Maintains TTL expiration checks when feature is enabled
@bittcrafter bittcrafter merged commit 0fe4c90 into rmqtt:main Jun 28, 2025
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.

1 participant