solc-js icon indicating copy to clipboard operation
solc-js copied to clipboard

Add retry on loadRemoteVersion

Open edisinovcic opened this issue 5 years ago • 2 comments

If version can't be downloaded at first try to retry x times to mitigate errors when solc version cannot be fetched

edisinovcic avatar Jun 03 '20 16:06 edisinovcic

@axic @chriseth would it make sense to internally try to download x times (where is can be from 2-5 times) version with y seconds delay (where y is between 1 and 5 seconds) so that downloading does not fail?

edisinovcic avatar Jun 03 '20 16:06 edisinovcic

I would not do it by default but I think it would make sense to have it as an option.

cameel avatar Oct 06 '21 19:10 cameel