yiguolei commented on code in PR #31220:
URL: https://github.com/apache/doris/pull/31220#discussion_r1497266038
##########
be/src/runtime/memory/cache_manager.h:
##########
@@ -54,9 +55,29 @@ class CacheManager {
void clear_once(CachePolicy::CacheType type);
+ template <bool prune_stale>
+ bool need_prune() {
Review Comment:
这里不要用模板参数,直接用函数的参数就行了
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]