Skip to content

Commit 0f146ee

Browse files
committed
change number of warning for missing svfit cache from 30 to 1
empty string of missing svfit cache defaults to "null" instead of "" circumvent by comparison to "null" instead of ""
1 parent a96afa1 commit 0f146ee

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: src/Producers/SvfitProducers.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ void SvfitProducer::Init(setting_type const& settings, metadata_type& metadata)
4040
{
4141
ProducerBase<HttTypes>::Init(settings, metadata);
4242

43-
if (! (settings.*GetSvfitCacheFileMember)().empty())
43+
if ( (settings.*GetSvfitCacheFileMember)() != "null")
4444
{
4545
svfitTools.Init(
4646
(settings.*GetSvfitCacheFileMember)(),

Diff for: src/Utility/SvfitTools.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,7 @@ SvfitResults SvfitTools::GetResults(SvfitEventKey const& svfitEventKey, SvfitInp
631631
{
632632
if(svfitCacheMissBehaviour == HttEnumTypes::SvfitCacheMissBehaviour::recalculate)
633633
{
634-
LOG_N_TIMES(30, INFO) << "SvfitCache miss: No corresponding entry to the current inputs found in SvfitCache file. Re-Running SvFit. Did your inputs change?"
634+
LOG_N_TIMES(1, INFO) << "SvfitCache miss: No corresponding entry to the current inputs found in SvfitCache file. Re-Running SvFit. Did your inputs change?"
635635
<< std::endl << "Cache searched in tree: \"" << cacheFileTreeName << "\".";
636636
}
637637
if(svfitCacheMissBehaviour == HttEnumTypes::SvfitCacheMissBehaviour::assert)

0 commit comments

Comments
 (0)