global: add support for -DSTAGING

This commit is contained in:
Abdullah Atta committed 2024-11-28 14:38:28 +05:00
1 parent c6bcd4a84d
commit e5bf3367cc
9 files changed
+137 -148

No files matched your search

@@ -56,7 +56,7 @@ namespace Streetwriters.Data.DbContexts
using (IClientSessionHandle session = await MongoClient.StartSessionAsync())
{
#if DEBUG
#if (DEBUG || STAGING)
await Parallel.ForEachAsync(_commands, async (c, ct) => await c(session, ct));
#else
await session.WithTransactionAsync(async (handle, token) =>