Skip to content

Commit

Permalink
Fixup ifdef for easier switching
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnSully committed Mar 18, 2024
1 parent 559588b commit 5fbe991
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/db.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3045,8 +3045,9 @@ void redisDbPersistentData::commitChanges(const redisDbPersistentDataSnapshot **
}
if (m_spstorage != nullptr)
{
#if 1
m_spstorage->endWriteBatch();
#if 0
#else
auto *tok = m_spstorage->begin_endWriteBatch(serverTL->el, storageLoadCallback);
if (tok != nullptr)
{
Expand Down

0 comments on commit 5fbe991

Please sign in to comment.