When using threads, auto_clean is now disabled with set_cache_auto_clean(False) and the cache is manually cleaned with clear_cache_from_expired_items() when all threads are finished.
Oh, kudos to bug reporter. :)
Btw, did you consider implementing a semaphore here so only one thread runs clear_expired_items at once? Or does it sound like an overkill?
Inspired by steemconnect-python-client by @emre, SteemConnect is now integrated into beem.
Thanks for the mention. My username is @emrebeyler. Would be happy if you fix it.
Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.
To view those questions and the relevant answers related to your post, click here.
Hi there,
Great updates, again.
Oh, kudos to bug reporter. :)
Btw, did you consider implementing a semaphore here so only one thread runs clear_expired_items at once? Or does it sound like an overkill?
Thanks for the mention. My username is @emrebeyler. Would be happy if you fix it.
Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.
To view those questions and the relevant answers related to your post, click here.
Need help? Write a ticket on https://support.utopian.io/.
Chat with us on Discord.
[utopian-moderator]
Thanks for reviewing. I was confused by your github name. I corrected your username in the post.
I will take a look into semaphores, thanks :).
Exellent post
Hey @holger80
Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!
Contributing on Utopian
Learn how to contribute on our website or by watching this tutorial on Youtube.
Want to chat? Join us on Discord https://discord.gg/h52nFrV.
Vote for Utopian Witness!