|
@@ -379,10 +379,9 @@ namespace PRSServer
|
|
|
}
|
|
|
}
|
|
|
}, TokenSource.Token);
|
|
|
+
|
|
|
|
|
|
- // Essentially to make sure that OEM isn't losing threads on us (or that we're missing messages).
|
|
|
- // The hunch is that this shouldn't happen.
|
|
|
- // Basically, delay for 15 seconds, and if we still haven't got data, make a note.
|
|
|
+ // After 15 seconds, close the connection (but only if it has been confirmed).
|
|
|
var delay = Task.Delay(15_000).ContinueWith(t =>
|
|
|
{
|
|
|
if (!readData)
|