Skip to content

Commit e033155

Browse files
committed
++ cache
1 parent 094de78 commit e033155

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

storage/cache.cpp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -183,15 +183,6 @@ void NHTFlowCache::finish()
183183
#ifdef WITH_CTT
184184
if (m_flow_table[i]->is_in_ctt && !m_flow_table[i]->is_waiting_for_export) {
185185
send_export_request_to_ctt(m_flow_table[i]->m_flow.flow_hash_ctt);
186-
m_hashes_in_ctt[m_flow_table[i]->m_flow.flow_hash_ctt] -= 1;
187-
std::cout << m_hashes_in_ctt[m_flow_table[i]->m_flow.flow_hash_ctt] << std::endl;
188-
if (m_hashes_in_ctt[m_flow_table[i]->m_flow.flow_hash_ctt] < 0)
189-
{
190-
throw "bad ctt record";
191-
}
192-
if (m_hashes_in_ctt[m_flow_table[i]->m_flow.flow_hash_ctt] == 0) {
193-
m_hashes_in_ctt.erase(m_flow_table[i]->m_flow.flow_hash_ctt);
194-
}
195186
}
196187
#endif /* WITH_CTT */
197188
plugins_pre_export(m_flow_table[i]->m_flow);

0 commit comments

Comments
 (0)