Skip to content

Commit

Permalink
Deduplicate an unlimited amount of STASH warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
jfrost-mo committed Jan 28, 2025
1 parent 10e560e commit 42a208c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CSET/operators/read.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ def _deterministic_callback(cube, field, filename):
)


@functools.lru_cache(10)
@functools.lru_cache(None)
def _warn_once(msg):
"""Print a warning message, skipping recent duplicates."""
logging.warning(msg)
Expand Down

0 comments on commit 42a208c

Please sign in to comment.