Finished kernel proc filtering.

This commit is contained in:
0xJoeMama 2022-05-29 16:09:55 +03:00
parent 2b4000b857
commit 482734766a
No known key found for this signature in database
GPG key ID: 6E0A65853073294E

View file

@ -1267,7 +1267,7 @@ namespace Proc {
static void clear_kernel_cache() {
static size_t latest_clear_time = 0;
if (latest_clear_time >= static_cast<size_t>(Config::getI("update_ms") * 100)) {
if (latest_clear_time >= 256) {
kernels_procs.clear();
latest_clear_time = 0;
}