浏览代码

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