Fixup ifdef for easier switching

This commit is contained in:
John Sully committed 2024-03-18 21:50:51 +00:00
1 parent 559588b995
commit 5fbe9915c3
1 file changed
+2 -1
+2 -1
View File
@@ -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)
{