2
0
Yuki Takei 5 жил өмнө
parent
commit
3170c113e8

+ 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);
+    }
   }
 
   /**