Skip to content

Commit

Permalink
use builtin random
Browse files Browse the repository at this point in the history
  • Loading branch information
wakamex committed Nov 28, 2022
1 parent 7b92b2d commit 0f7efe3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ape_alchemy/provider.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import os, time
import numpy.random as random
import random
from typing import Any, Dict, Iterator

from ape.api import UpstreamProvider, Web3Provider
Expand Down Expand Up @@ -147,7 +147,7 @@ def _make_request(
retry_backoff_factor: int=2, # exponential backoff
max_retry_delay: int=30_000, # 30 seconds
max_retries: int=3,
retry_jitter: int=250,
retry_jitter: int=250, # 250 milliseconds
) -> Any:

for i in range(0,max_retries):
Expand Down

0 comments on commit 0f7efe3

Please sign in to comment.