complexdatacollective / Server

A tool for storing, analyzing, and exporting Network Canvas interview data.
http://networkcanvas.com/
GNU General Public License v3.0
2 stars 2 forks source link

Better handling of mass protocol import #296

Closed jthrilly closed 1 year ago

jthrilly commented 3 years 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

Specifically, we should use the concurrency argument to limit the number of simultaneous calls to validateAndImportProtocols.

jthrilly commented 1 year ago

Closing, as no further development planned on Server.