LBRY URL Race Condition #35

Closed
opened 5 months ago by jamesapyrich · 2 comments
Collaborator

When a video upload is relatively small and all the stars align, sometimes the LBRY upload completes before the automation or LBRY blockchain is ready to check for the LBRY URLs. When the upload completes, the LBRY Killer process does its thing. Unfortunately, automation will be stuck trying to get URLs because the local API is shut down.

Workaround is to start up LBRY and wait for automation to detect the URL. After the results window appears, it's then safe to end the LBRY app.

Suggested fix would be to have the LBRY Killer process spawn after automation successfully retrieves the URLs.

When a video upload is relatively small and all the stars align, sometimes the LBRY upload completes before the automation or LBRY blockchain is ready to check for the LBRY URLs. When the upload completes, the LBRY Killer process does its thing. Unfortunately, automation will be stuck trying to get URLs because the local API is shut down. Workaround is to start up LBRY and wait for automation to detect the URL. After the results window appears, it's then safe to end the LBRY app. Suggested fix would be to have the LBRY Killer process spawn after automation successfully retrieves the URLs.
Poster
Collaborator

LBRY process killed before URLs fetched (I restarted LBRY because it was pretty obviously stuck): https://discord.com/channels/676906881020854302/773195410688049164/1228370021856710667

LBRY process killed before URLs fetched (I restarted LBRY because it was pretty obviously stuck): https://discord.com/channels/676906881020854302/773195410688049164/1228370021856710667
yuriy added the
Priority-C
label 5 months ago
yuriy added
Priority-B
and removed
Priority-C
labels 5 months ago
yuriy commented 4 months ago
Owner

Thanks, I moved the LBRY killer to be run after the URLs are grabbed. Will be working properly in the next update.

Thanks, I moved the LBRY killer to be run after the URLs are grabbed. Will be working properly in the next update.
yuriy closed this issue 4 months ago
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: yuriy/video-uploader#35
Loading…
There is no content yet.