Add concurrent upload support to prevent timeouts with bulk components
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3559684. --> Reported by: [mglaman](https://www.drupal.org/user/2416470) Related to !352 >>> <h3 id="overview">Overview</h3> <p>When attempting to upload ~90 components to the a Drupal Canvas site using the "All components" option, the process appears to be timing out, causing some components to fail.</p> <p>This is more than likely due to the access token expiring. However it would still take a long time to upload one by one, so let's parallelize as well.</p> <h3 id="proposed-resolution">Proposed resolution</h3> <p>- Add an OAuth middleware to Axios client for refreshing the access token<br> - Use &ldquo;pooled&rdquo; requests and await for their promise resolutions. </p> <h3 id="ui-changes">User interface changes</h3> <p>N/A</p>
issue