Skip to content

Commit

Permalink
added more delay into connection check
Browse files Browse the repository at this point in the history
  • Loading branch information
fbarresi committed Apr 23, 2020
1 parent 8ab238e commit fa4cd82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TFU002/TFU002.Logic/Services/BeckhoffService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public override async Task<bool> Initialize()
logger.LogError(e, "Error while initializing beckhoff");
}

Observable.Interval(TimeSpan.FromMilliseconds(100))
Observable.Interval(TimeSpan.FromSeconds(1))
.Do(_ => CheckConnectionHealth())
.Subscribe()
.AddDisposableTo(Disposables);
Expand Down

0 comments on commit fa4cd82

Please sign in to comment.