Skip to content

Commit

Permalink
Merge pull request #72 from NREL-Sienna/jd/log_print_reduce
Browse files Browse the repository at this point in the history
use max log
  • Loading branch information
jd-lara authored Jan 22, 2024
2 parents 51c22ce + 65d738e commit 045c479
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/row_cache.jl
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,8 @@ function check_cache_size!(cache::RowCache; new_add::Bool = false)
v = 0
end
if length(cache.temp_cache) > cache.max_num_keys - v
@info "Maximum memory reached, removing one row from cache (not belonging to `persistent_cache_keys`)."
@info "Maximum memory reached, removing rows from cache (not belonging to `persistent_cache_keys`)." maxlog =
1
purge_one!(cache)
end
return
Expand Down

2 comments on commit 045c479

@jd-lara
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register()

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/99327

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.10.0 -m "<description of version>" 045c4797a19426b249df99fa63c8180464b97bac
git push origin v0.10.0

Please sign in to comment.