Skip to content

Commit 1189577

Browse files
committed
++ cache
1 parent 69b8a64 commit 1189577

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

storage/cache.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -412,9 +412,6 @@ bool NHTFlowCache::try_to_export(size_t flow_index, bool call_pre_export, const
412412
#ifdef WITH_CTT
413413
if (m_flow_table[flow_index]->is_in_ctt) {
414414
if (!m_flow_table[flow_index]->is_waiting_for_export) {
415-
if (m_flow_table[flow_index]->m_flow.flow_hash_ctt == 0) {
416-
throw "error!";
417-
}
418415
m_flow_table[flow_index]->is_waiting_for_export = true;
419416
send_export_request_to_ctt(m_flow_table[flow_index]->m_flow.flow_hash_ctt);
420417
m_flow_table[flow_index]->export_time = {now.tv_sec + 1, now.tv_usec};

0 commit comments

Comments
 (0)