Skip to content

Commit

Permalink
Avoid scheduling dock mission twice in parallell
Browse files Browse the repository at this point in the history
  • Loading branch information
oysand committed Jan 14, 2025
1 parent f307180 commit 47c077a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion backend/api/Services/MissionSchedulingService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,10 @@ public async Task ScheduleMissionToDriveToDockPosition(string robotId)

try
{
await missionRunService.Create(missionRun);
await missionRunService.Create(
missionRun: missionRun,
triggerCreatedMissionRunEvent: false
);
}
catch (UnsupportedRobotCapabilityException)
{
Expand Down

0 comments on commit 47c077a

Please sign in to comment.