Yuki Takei hace 5 años
padre
commit
3170c113e8
Se han modificado 1 ficheros con 3 adiciones y 2 borrados
  1. 3 2
      src/server/service/config-manager.js

+ 3 - 2
src/server/service/config-manager.js

@@ -196,10 +196,11 @@ class ConfigManager {
     const updatedAt = new Date();
 
     await this.loadConfigs();
-    this.reloadConfigKeys();
 
     // publish updated date after reloading
-    this.publishUpdateMessage(updatedAt);
+    if (this.configPubsub != null) {
+      this.publishUpdateMessage(updatedAt);
+    }
   }
 
   /**