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

✨(app) generate upload url #18

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

polyhb
Copy link
Contributor

@polyhb polyhb commented Dec 22, 2023

Add generated upload url when creating a runner_job. It will be used by the runner to upload the video. By default the upload endpoint is pointing to our app, but it the storage inherit from s3, then it will boto3 client to generate the upload url.

It should be used with this Peertube PR.

Add generated upload url when creating a runner_job. It will be used by
the runner to upload the video. By default the upload endpoint is
pointing to our app, but it the storage inherit from s3, then it
will boto3 client to generate the upload url.
@polyhb polyhb requested review from kernicPanel and lunika December 22, 2023 14:34
@polyhb polyhb self-assigned this Dec 22, 2023
@@ -99,6 +99,7 @@ def complete(self, runner_job: RunnerJob, result_payload):
self.specific_complete(runner_job, result_payload)
runner_job.state = RunnerJobState.COMPLETED
except Exception as err: # pylint: disable=broad-except
print(err)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
print(err)
print(err)

Should be removed ?

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