Skip to content

Commit

Permalink
Merge branch 'main' into gha_release
Browse files Browse the repository at this point in the history
  • Loading branch information
eddyashton authored Jul 4, 2024
2 parents 37a963c + 8ce7b79 commit c112bec
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/js/interpreter_cache.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,12 @@ namespace ccf::js
auto it = lru.find(key);
if (it == lru.end())
{
LOG_TRACE_FMT(
"Inserting new interpreter into cache, with key {}", key);
it = lru.insert(key, make_interpreter(access));
LOG_INFO_FMT(
"Constructed cached JS interpreter at key {}. Cache now "
"contains {} interpreters",
key,
lru.size());
}
else
{
Expand Down

0 comments on commit c112bec

Please sign in to comment.