Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🎁 Update Bulkrax for Download Cloud Files work #520

Merged
merged 1 commit into from
Feb 23, 2024

Conversation

kirkkwang
Copy link
Contributor

@kirkkwang kirkkwang commented Feb 21, 2024

Story

This commit will update Bulkrax to from v5.2.1 to v5.3.1 on a special branch to turn the DownloadCloudFilesJob from a perform_now to a perform_later. Logging information was added to help monitor the download progress.

Ref:

Expected Behavior Before Changes

When using Browse Everything to import files, the page would lock up until the download was finished because the DownloadCloudFilesJob was doing a #perform_now. This would be particularly problematic for large files that may take a long time to download and eventually time out.

Expected Behavior After Changes

When using Browse Everything to import files, the page would redirect immediately because the DownloadCloudFilesJob is now being run asynchronously as a background job. Rails logging has been added to help devs monitor the download progress.

Screenshots / Video

Zight.Recording.2024-02-21.at.09.51.24.mp4

This commit will update Bulkrax to from v5.2.1 to v5.3.1 on a special
branch to turn the `DownloadCloudFilesJob` from a perform_now to a
perform_later.  Logging information was added to help monitor the
download progress.

Ref:
  - samvera/bulkrax@2ab3ef0
@kirkkwang kirkkwang force-pushed the update-bulkrax-for-download-cloud-files branch from aae76e2 to 6be9fe4 Compare February 22, 2024 22:11
@kirkkwang kirkkwang merged commit 35f515b into main Feb 23, 2024
8 checks passed
@kirkkwang kirkkwang deleted the update-bulkrax-for-download-cloud-files branch February 23, 2024 00:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants