Add timeouts to ytvideos class methods
notatallshaw opened this issue · comments
Damian Shaw commented
I think sometimes the Google API classes just stop responding as apposed to throwing an exception. The idea to this would to be put the calls in to a separate thread / subprocess and kill the thread after a set amount of time if nothing happens.
Maybe measuring "nothing happens" could be via a queue which is populated by the loops in the method.