Skip to content

Commit 506b45f

Browse files
author
Arthur Glowacki
committed
Comment out log message that is not needed now.
1 parent b59c6b8 commit 506b45f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/workflow/xrf/spectra_file_source.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,11 +114,13 @@ bool Spectra_File_Source<T_real>::load_netcdf_line(std::string dirpath,
114114
template<typename T_real>
115115
data_struct::Stream_Block<T_real>* Spectra_File_Source<T_real>::_alloc_stream_block(int detector, size_t row, size_t col, size_t height, size_t width, size_t spectra_size)
116116
{
117+
/*
117118
if (_max_num_stream_blocks == -1 && _analysis_job != nullptr)
118119
{
119120
_max_num_stream_blocks = _analysis_job->mem_limit / (spectra_size * sizeof(T_real));
120121
logI << "Max stream blocks: " << _max_num_stream_blocks << "\n";
121122
}
123+
*/
122124
return new data_struct::Stream_Block<T_real>(detector, row, col, height, width);
123125
}
124126

0 commit comments

Comments
 (0)