瀏覽代碼

fix: missing max conn configs

Yeuoly 9 月之前
父節點
當前提交
dec9a92e4c
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      internal/core/plugin_manager/remote_manager/server.go

+ 2 - 0
internal/core/plugin_manager/remote_manager/server.go

@@ -102,6 +102,8 @@ func NewRemotePluginServer(config *app.Config, media_manager *media_manager.Medi
 		plugins_lock: &sync.RWMutex{},
 
 		shutdown_chan: make(chan bool),
+
+		max_conn: int32(config.PluginRemoteInstallingMaxConn),
 	}
 
 	manager := &RemotePluginServer{