Skip to content

Commit

Permalink
remove duplicate inline proxy shuffle
Browse files Browse the repository at this point in the history
  • Loading branch information
sgrtye committed Oct 9, 2024
1 parent 5c2e0fc commit f69dddf
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions novel/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,9 +191,6 @@ def start_api_server():

try:
while True:
if j == len(proxies) - 1 and random.randint(0, 9) == 0:
random.shuffle(proxies)

for index in range(len(proxies)):
j = (j + 1) % len(proxies)

Expand Down

0 comments on commit f69dddf

Please sign in to comment.