Fixup ifdef for easier switching
This commit is contained in:
1 parent
559588b995
commit
5fbe9915c3
1 file changed
+2
-1
+2
-1
@@ -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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user