Lazy plugs (#596)
* Manifest caching and lazy loading of plug workers * Fixes #546 Plug unloading after time out
This commit is contained in:
@@ -68,7 +68,7 @@ export async function updatePlugsCommand() {
|
||||
|
||||
const allPlugNames = [...builtinPlugNames, ...allCustomPlugNames];
|
||||
// And delete extra ones
|
||||
for (const existingPlug of await space.listPlugs()) {
|
||||
for (const { name: existingPlug } of await space.listPlugs()) {
|
||||
const plugName = existingPlug.substring(
|
||||
"_plug/".length,
|
||||
existingPlug.length - ".plug.js".length,
|
||||
|
||||
Reference in New Issue
Block a user