jplevyak commented on code in PR #13893: URL: https://github.com/apache/trafficserver/pull/13893#discussion_r4366044475
########## src/iocore/cache/RamCacheCLFUS.cc: ########## @@ -834,7 +858,7 @@ RamCacheCLFUS::put(CryptoHash *key, IOBufferData *data, uint32_t len, bool copy, } Que(RamCacheCLFUSEntry, lru_link) victims; RamCacheCLFUSEntry *victim = nullptr; - int requeue_count = requeue_limit; + int requeue_count = std::min(static_cast<int64_t>(requeue_limit), this->_objects); Review Comment: It's now int64_t. -- 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]
