Skip to content

Commit

Permalink
don't scope the import on a startup / firstboot publish.
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinJump committed Jun 29, 2023
1 parent 03cd871 commit 9ab0a28
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions uSync.BackOffice/Services/uSyncService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -194,14 +194,7 @@ public IEnumerable<uSyncAction> Import(string folder, bool force, SyncHandlerOpt

var handlers = _handlerFactory.GetValidHandlers(handlerOptions);

using ICoreScope scope = _scopeProvider.CreateCoreScope();
using (scope.SuppressScopeByConfig(_uSyncConfig))
{
var results = Import(folder, force, handlers, callbacks);
scope.Complete();

return results;
}
return Import(folder, force, handlers, callbacks);
}

/// <summary>
Expand Down

0 comments on commit 9ab0a28

Please sign in to comment.