About sweeping... #5247
Closed
almostSouji
started this conversation in
General
Replies: 1 comment
-
For me, given caching is currently a built-in part of the library, I think it makes sense to also have some sweeping of that be built-in. The folks writing the library and the logic that interacts with the caching system are likely also going to be the best folks for knowing how to safely sweep it. If caching gets pulled out of the core lib though, and becomes something the user has far more control over (able to provide their own caching system), then I'd definitely fall far more into the boat of removing sweeping from the lib. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Cache cleanup is generally user duty, as it can have major side effects on events and base library functionality. Yet we currently have native options and handling for message sweeping, which can be faulty as well: #4599.
I'm still uncertain if this is a thing we should fix and make it more reliable or remove native sweeping completely and let the developer do it on their own accord.
Beta Was this translation helpful? Give feedback.
All reactions