Skip to content

Commit

Permalink
somehow missed reference to m_setexpire
Browse files Browse the repository at this point in the history
  • Loading branch information
msotheeswaran-sc committed Aug 22, 2023
1 parent 22a0ad9 commit fca3c77
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/db.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3121,11 +3121,6 @@ bool redisDbPersistentData::removeCachedValue(const char *key, dictEntry **ppde)
if (m_spstorage != nullptr)
m_spstorage->batch_unlock();

std::unique_lock<fastlock> ul(g_expireLock);
auto itr = m_setexpire->find(key);
if (itr != m_setexpire->end())
m_setexpire->erase(itr);

return true;
}

Expand Down

0 comments on commit fca3c77

Please sign in to comment.