Browse Source

Changed a comment

Kenric Nugteren 2 years ago
parent
commit
a7c2b81c56
1 changed files with 2 additions and 3 deletions
  1. 2 3
      prs.server/Engines/GPS/OEMConnection.cs

+ 2 - 3
prs.server/Engines/GPS/OEMConnection.cs

@@ -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)