Closed jthrilly closed 1 year ago
Currently each file in a protocol import action is imported in parallel. Each file creates its own status toast, so this is quite overwhelming with a large number of files.
We should use something like the async library's queue method: https://caolan.github.io/async/v3/docs.html#queue
async
queue
Specifically, we should use the concurrency argument to limit the number of simultaneous calls to validateAndImportProtocols.
validateAndImportProtocols
Closing, as no further development planned on Server.
Currently each file in a protocol import action is imported in parallel. Each file creates its own status toast, so this is quite overwhelming with a large number of files.
We should use something like the
async
library'squeue
method: https://caolan.github.io/async/v3/docs.html#queueSpecifically, we should use the concurrency argument to limit the number of simultaneous calls to
validateAndImportProtocols
.