فهرست منبع

Changed a comment

Kenric Nugteren 2 سال پیش
والد
کامیت
a7c2b81c56
1فایلهای تغییر یافته به همراه2 افزوده شده و 3 حذف شده
  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)