فهرست منبع

request the current configuration after every iteration cycle

Sven Czarnian 3 سال پیش
والد
کامیت
7452eb595d
1فایلهای تغییر یافته به همراه5 افزوده شده و 0 حذف شده
  1. 5 0
      aman/sys/Worker.py

+ 5 - 0
aman/sys/Worker.py

@@ -91,6 +91,11 @@ class Worker(Thread):
             if 0 != (counter % 10):
                 continue
 
+            # request the current configuration from the server and update it, if useful
+            newConfig = self.WebUi.requestConfiguration(self.Icao, self.Configuration.GngData)
+            if None != newConfig:
+                self.sequencingConfiguration = newConfig
+
             self.acquireLock()
 
             # perform some book-keeping