Skip to content

Commit

Permalink
Increase timeout for Meadow attach
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianstevens committed Nov 19, 2024
1 parent 5796786 commit 26ef8e3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ public partial class SerialConnection

public override async Task WaitForMeadowAttach(CancellationToken? cancellationToken)
{
var timeout = 500;
var timeout = 50;

while (timeout-- > 0)
{
Expand All @@ -26,7 +26,7 @@ public override async Task WaitForMeadowAttach(CancellationToken? cancellationTo
return;
}

await Task.Delay(20);
await Task.Delay(100);

if (!_port.IsOpen)
{
Expand Down

0 comments on commit 26ef8e3

Please sign in to comment.