currently they are set to (60, 600)
min_wait is used when the livestream is not scheduled
So the current setup sends a request to YouTube every 60 seconds, which seems a little too much. I think we can reduce the frequency to 10 minutes.
max_wait is used when the livestream is scheduled
This is used when the livestream is scheduled. So if the livestream is scheduled for 10:00, and it's 9:00 now, ytpodgen will send a request to YouTube every 10 minutes. This is to avoid sending too many requests to YouTube.
I think by setting this to so long, like 1 day(86,400sec), we can both
- reduce the frequency of requests to YouTube
- if the livestream is scheduled within 1 day,
ytpodgen will wait for the livestream to start till the scheduled time.
currently they are set to (60, 600)
min_waitis used when the livestream is not scheduledSo the current setup sends a request to YouTube every 60 seconds, which seems a little too much. I think we can reduce the frequency to 10 minutes.
max_waitis used when the livestream is scheduledThis is used when the livestream is scheduled. So if the livestream is scheduled for 10:00, and it's 9:00 now,
ytpodgenwill send a request to YouTube every 10 minutes. This is to avoid sending too many requests to YouTube.I think by setting this to so long, like 1 day(86,400sec), we can both
ytpodgenwill wait for the livestream to start till the scheduled time.