Skip to content

Commit

Permalink
fix(libsinsp): do not invalidate thread manager cache when using plug…
Browse files Browse the repository at this point in the history
…in state api

Signed-off-by: Jason Dellaluce <[email protected]>
  • Loading branch information
jasondellaluce authored Jan 24, 2025
1 parent 6c46ed3 commit dd17d5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion userspace/libsinsp/threadinfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -781,7 +781,7 @@ class SINSP_PUBLIC sinsp_thread_manager : public libsinsp::state::table<int64_t>
}

std::shared_ptr<libsinsp::state::table_entry> get_entry(const int64_t& key) override {
return find_thread(key, false);
return find_thread(key, true);
}

std::shared_ptr<libsinsp::state::table_entry> add_entry(
Expand Down

0 comments on commit dd17d5f

Please sign in to comment.