Skip to content

Commit

Permalink
Update cache.h [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
RealTimeChris authored Sep 22, 2023
1 parent b97b8b0 commit 03d126b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions include/dpp/cache.h
Original file line number Diff line number Diff line change
Expand Up @@ -271,10 +271,6 @@ cache_decl(emoji, find_emoji, get_emoji_cache, get_emoji_count);
* delete pointers when objects are replaced. We put them into a queue, and periodically delete pointers in the
* queue. This also rehashes unordered_maps to ensure they free their memory.
*/
/* Because other threads and systems may run for a short while after an event is received, we don't immediately
* delete pointers when objects are replaced. We put them into a queue, and periodically delete pointers in the
* queue. This also rehashes unordered_maps to ensure they free their memory.
*/
template<typename value_type> inline void garbage_collection() {
time_t now = time(nullptr);
bool repeat = false;
Expand Down

0 comments on commit 03d126b

Please sign in to comment.