We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Compactions are currently handled by rocksdb which spawns its own threads for this purpose.
Instead, allow the user to setup their own background process (the following is just an example):
let cleaner = cache.cleaner().entry_limit(100).interval(Duration::secs(10)).build(); tokio::spawn(cleaner);
This way, if the cleaner is dropped, so is the background procedure.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Compactions are currently handled by rocksdb which spawns its own threads for this purpose.
Instead, allow the user to setup their own background process (the following is just an example):
This way, if the cleaner is dropped, so is the background procedure.
The text was updated successfully, but these errors were encountered: