The bluga module uses the JavaScript function setTimeout in order to check whether the requested thumbnail has already been fetched. However, I wonder what happens when the user enters a URL which cannot be resolved by bluga.net or when the fetching process simply fails for whatever reason. Is it correct of me to assume that in this case the timer will not stop? The way I see it the bluga module checks whether there's a div with the ID "bluga-waiting-". But when the fetching process fails then this div with said ID will be delivered back by the bluga module everytime so the timer won't stop? Can anybody confirm this?
Comments
Comment #1
zostay commentedI suppose, in the worst case, you have a a function calling back to Bluga every 30 seconds.
Are you seeing some problem like this or just speculating?
Comment #2
KhaledBlah commentedWell once a user makes a typo and enters a non-valid URL or a valid one which cannot be resolved because it doesn't exist or it can't be reached by bluga this will cause the aforementioned problem and I think it is rather easy to fix with a counter. It's not a major bug maybe but should still be taken care of IMO.
Regards,