feat: support concurrently handle local plugins launching#263
feat: support concurrently handle local plugins launching#263bowenliang123 wants to merge 3 commits intolanggenius:mainfrom
Conversation
|
Actually, concurrently launching was supported already, |
Curious to hear that concurrency has been supported in launching local plugins, while in practise we don't see evidence in concurrently installed and launching local plugins. And BTW, |
|
|
||
| var ( | ||
| waitGroup sync.WaitGroup | ||
| semaphores = make(chan struct{}, config.PluginLocalLaunchingConcurrent) |
There was a problem hiding this comment.
It's no need to use semaphores as pluginManager will automatically control its limits
|
Refactored: #499 |
InitPythonEnvironmentmethod slows the uptime for plugin launching