File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
main/java/io/goodforgod/api/etherscan
test/java/io/goodforgod/api/etherscan Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ public EtherScanAPI.Builder withConverter(@NotNull Supplier<Converter> converter
8989 }
9090
9191 @ NotNull
92- public EtherScanAPI .Builder withRetryOnLimitReach (int maxRetryCount ) {
92+ public EtherScanAPI .Builder withRetryOnRateLimit (int maxRetryCount ) {
9393 if (maxRetryCount < 0 || maxRetryCount > 20 ) {
9494 throw new IllegalStateException ("maxRetryCount value must be in range from 0 to 20, but was: " + maxRetryCount );
9595 }
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ interface Builder {
7171 * @return self
7272 */
7373 @ NotNull
74- EtherScanAPI .Builder withRetryOnLimitReach (@ Range (from = 0 , to = 20 ) int maxRetryCount );
74+ EtherScanAPI .Builder withRetryOnRateLimit (@ Range (from = 0 , to = 20 ) int maxRetryCount );
7575
7676 @ NotNull
7777 EtherScanAPI build ();
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ public class ApiRunner extends Assertions {
2929 .withApiKey (ApiRunner .API_KEY )
3030 .withNetwork (EthNetworks .MAINNET )
3131 .withQueue (queueManager )
32- .withRetryOnLimitReach (5 )
32+ .withRetryOnRateLimit (5 )
3333 .build ();
3434 }
3535
You can’t perform that action at this time.
0 commit comments