Load plugins in parallel?
Open
- Dominant language
- No language data
- Stars
- 68
- Forks
- 8
- Avg merge
- 11h 2m
- Merged PRs (30d)
- 2
Description
In some cases I have plugins that are not dependent on eachother and take many seconds to load. It seems fastify loads them in sequence, waiting for one to finish before starting the next.
When searching the docs it's hard to tell that this behaviour was the case. The only mention was "avvio maintains load and close order".
In the case mentioned above it's a big waste of time loading because they can be loaded in parallel as they are not dependent.
In fact, in my experience, plugins can almost always load in parallel, and if not I specify plugin dependencies.
Is there a way to specify a plugin graph which loads in parallel?
Contributor guide
Assessment
This issue has not been assessed yet.