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

Loop until no new tickets are available #54

Open
derpeter opened this issue Sep 29, 2018 · 5 comments
Open

Loop until no new tickets are available #54

derpeter opened this issue Sep 29, 2018 · 5 comments
Assignees

Comments

@derpeter
Copy link
Contributor

Change the runtime behavior of the publisher to loop until not new tickets are available.
This will align its behavior with the other CRS scripts and will speed up publishing

@derpeter derpeter self-assigned this Sep 29, 2018
@derpeter derpeter added this to the 35c3 milestone Sep 29, 2018
@a-tze
Copy link
Contributor

a-tze commented Oct 18, 2018

Please keep the youtube ratelimits in mind

@derpeter
Copy link
Contributor Author

any hint what the limit is? Cant find it in the API documentation. Either way with merging timelens we should spend enough time between the youtube calls ;-)

@a-tze
Copy link
Contributor

a-tze commented Oct 18, 2018

Unfortunately not. I can just remember the 120 seconds from twitter, but I guess thats just history now, and that YT sometimes returned HTTP 500 codes when it was too often.

@derpeter
Copy link
Contributor Author

Ok, i would still make the script loop by it self and when we run into timeouts we a nice sleep ;-)

@a-tze
Copy link
Contributor

a-tze commented Oct 19, 2018

Maybe just a sleep after/in running the YT publish would be sufficient. For e.g. audio files we explicitly do not want to sleep, because that is what this issue is about at the end.

@derpeter derpeter modified the milestones: 35c3, camp19 Jan 17, 2019
@derpeter derpeter removed this from the camp19 milestone Oct 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants