Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
lordgamez committed Sep 19, 2023
1 parent b004732 commit cfbf781
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ class LogCompressorSink : public spdlog::sinks::base_sink<std::mutex> {
return cached_logs_.getMaxSize();
}

size_t getMaxCacheSegmenSize() const {
size_t getMaxCacheSegmentSize() const {
return cached_logs_.getMaxItemSize();
}

Expand Down
2 changes: 1 addition & 1 deletion libminifi/src/core/logging/internal/CompressionManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ std::shared_ptr<LogCompressorSink> CompressionManager::initialize(
}
// do not create new sink if all relevant parameters match
if (!sink_ || sink_->getMaxCacheSize() != cached_log_max_size || sink_->getMaxCompressedSize() != compressed_log_max_size ||
sink_->getMaxCacheSegmenSize() != cache_segment_size || sink_->getMaxCompressedSegmentSize() != compressed_segment_size) {
sink_->getMaxCacheSegmentSize() != cache_segment_size || sink_->getMaxCompressedSegmentSize() != compressed_segment_size) {
sink_ = std::make_shared<internal::LogCompressorSink>(
LogQueueSize{cached_log_max_size, cache_segment_size},
LogQueueSize{compressed_log_max_size, compressed_segment_size},
Expand Down

0 comments on commit cfbf781

Please sign in to comment.