timeout needed for artist pull
Bug #682506 reported by
Andrew Barr
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Viridian |
Fix Committed
|
High
|
Dave Eddy |
Bug Description
Hi, Viridian is pretty neat but I have a problem. Not everyone has a super-fast server for their Ampache instance, and it looks like the default urllib2 timeout for pulling the Artist XML file is not enough. timeout=30 added to the .urlopen() call seems to work quite nicely for me.
To post a comment you must log in.
Hey, yeah I just had my first issue with this when trying to pull 5000 songs from my Ampache server; I saw my CPU's spike to 100% and realized that a timeout issue was happening because of that.. I just pushed a new commit that changes the timeout from 5 seconds to 10 seconds globally.. but i'm thinking i might have to change it to a higher value for certain functions (such as pulling artists/ albums/ songs)