From d978789e414d290d49038dd9b374773f9e2fda97 Mon Sep 17 00:00:00 2001 From: Kamil Cudnik Date: Sun, 1 Nov 2020 21:05:57 +0100 Subject: [PATCH] [syncd] Set modify redis flag in RedisSelectableChannel (#689) --- syncd/RedisSelectableChannel.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/syncd/RedisSelectableChannel.cpp b/syncd/RedisSelectableChannel.cpp index d56db32795ba..f3cfe61ce46f 100644 --- a/syncd/RedisSelectableChannel.cpp +++ b/syncd/RedisSelectableChannel.cpp @@ -18,13 +18,15 @@ RedisSelectableChannel::RedisSelectableChannel( m_asicState = std::make_shared(m_dbAsic.get(), asicStateTable); + m_asicState->setModifyRedis(m_modifyRedis); + /* * At the end we cant use producer consumer concept since if one process * will restart there may be something in the queue also "remove" from * response queue will also trigger another "response". */ - m_getResponse = std::make_shared(m_dbAsic.get(), getResponseTable); + m_getResponse = std::make_shared(m_dbAsic.get(), getResponseTable); } bool RedisSelectableChannel::empty()