File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed
Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -63,6 +63,17 @@ void TfBuilderDevice::InitTask()
6363 mTfBufferSize = GetConfig ()->GetValue <std::uint64_t >(OptionKeyTfMemorySize);
6464 mTfBufferSize <<= 20 ; /* input parameter is in MiB */
6565
66+ // Using DPL?
67+ if (mDplChannelName != " " ) {
68+ mDplEnabled = true ;
69+ mStandalone = false ;
70+ IDDLOG (" Using DPL channel. channel_name={}" , mDplChannelName );
71+ } else {
72+ mDplEnabled = false ;
73+ mStandalone = true ;
74+ IDDLOG (" Not sending to DPL." );
75+ }
76+
6677 // start buffer creation in an async thread
6778 mTfBuilder = std::make_unique<TimeFrameBuilder>(MemI (), dplEnabled ());
6879 std::promise<bool > lBuffersAllocated;
@@ -126,17 +137,6 @@ void TfBuilderDevice::InitTask()
126137 throw " Discovery database error: this TfBuilder was/is already present." ;
127138 return ;
128139 }
129-
130- // Using DPL?
131- if (mDplChannelName != " " ) {
132- mDplEnabled = true ;
133- mStandalone = false ;
134- IDDLOG (" Using DPL channel. channel_name={}" , mDplChannelName );
135- } else {
136- mDplEnabled = false ;
137- mStandalone = true ;
138- IDDLOG (" Not sending to DPL." );
139- }
140140 }
141141
142142 // start the task
You can’t perform that action at this time.
0 commit comments