You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're using codesandboxer within docz and it runs assembleFiles over and over in a single Node process. There's a global counter in loadFiles that increments each time it's run, and after you invoke it 120 times it starts throwing { key: 'tooManyModules' }.
I think it makes sense to check that a single sandbox doesn't contain too many modules, but the count variable should probably be passed as an argument and incremented as loadFiles is called recursively so that the counter isn't global?
The text was updated successfully, but these errors were encountered:
We're using codesandboxer within docz and it runs
assembleFiles
over and over in a single Node process. There's a global counter inloadFiles
that increments each time it's run, and after you invoke it 120 times it starts throwing{ key: 'tooManyModules' }
.I think it makes sense to check that a single sandbox doesn't contain too many modules, but the
count
variable should probably be passed as an argument and incremented as loadFiles is called recursively so that the counter isn't global?The text was updated successfully, but these errors were encountered: