bennyxqg / bulk-loader

Automatically exported from code.google.com/p/bulk-loader
0 stars 0 forks source link

maxTries = 0 -> retires the asset still 3 times #103

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

I only want to try loading an assets one time. 

If you use bulkInstance.add("/something.php", {maxTries: 0}); the assets will 
retry 3 times.

Maybe the problem is in line 780:
if(i.status == LoadingItem.STATUS_ERROR && i.numTries == i.maxTries)

Thanks in advance
Jens

Original issue reported on code.google.com by jensenfr...@googlemail.com on 14 Sep 2009 at 11:21

GoogleCodeExporter commented 9 years ago
Hi Jens.

This is updates in revision 301, can you verify this works as expected.

As a side note, the issue is that trying to load an asset once should be done 
using 
maxTries:1, not 0 (there is no way to load something without trying it at least 
once), 
right?

Cheers
Arthur Debert

Original comment by debert on 14 Sep 2009 at 11:33