Skip to content

Commit

Permalink
#1156 | Update comment to describe new media upload behaviour accurately
Browse files Browse the repository at this point in the history
  • Loading branch information
1t5j0y committed Nov 1, 2023
1 parent 9e99366 commit 60df2fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/openchs-android/src/service/MediaQueueService.js
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ class MediaQueueService extends BaseService {

uploadMedia() {
// Parallel push to S3 ensures maximal usage of existing bandwidth.
// Return only once everything is complete. Errors are logged in console only
// Return only once every media queue item upload succeeds or fails.
const mediaQueueItems = _.map(this.findAll(), (mediaQueueItem) => mediaQueueItem.clone());
General.logDebug("MediaQueueService", `Number of media queue items: ${mediaQueueItems.length}`);
return Promise.allSettled(
Expand Down

0 comments on commit 60df2fc

Please sign in to comment.