Skip to content

Commit

Permalink
close fw project before trying to do S&R
Browse files Browse the repository at this point in the history
  • Loading branch information
hahn-kev committed Nov 4, 2024
1 parent 22d5afa commit 166b4d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/FwHeadless/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,11 @@

var result = await syncService.Sync(miniLcmApi, fwdataApi, dryRun);
logger.LogInformation("Sync result, CrdtChanges: {CrdtChanges}, FwdataChanges: {FwdataChanges}", result.CrdtChanges, result.FwdataChanges);
fwDataFactory.CloseProject(fwDataProject);

await crdtSyncService.Sync();
var srResult2 = srService.SendReceive(fwDataProject, projectCode);
logger.LogInformation("Send/Receive result after CRDT sync: {srResult2}", srResult2.Output);
fwDataFactory.CloseProject(fwDataProject);
return TypedResults.Ok(result);
}

Expand Down

0 comments on commit 166b4d2

Please sign in to comment.