Spaces:
Sleeping
Sleeping
Commit ·
0d8f6c6
1
Parent(s): b5a649f
proxy pool race condition fixed
Browse files- freeplay2api.py +0 -5
freeplay2api.py
CHANGED
|
@@ -175,11 +175,6 @@ class FreeplayClient:
|
|
| 175 |
logging.info(f"LOOP ITERATION {attempt} STARTED")
|
| 176 |
proxy_info = None
|
| 177 |
try:
|
| 178 |
-
# Wait for proxy pool to be ready
|
| 179 |
-
while self.proxy_pool and self.proxy_pool.get_count() == 0:
|
| 180 |
-
logging.info("Waiting for proxy pool to be populated...")
|
| 181 |
-
time.sleep(5)
|
| 182 |
-
|
| 183 |
payload = {
|
| 184 |
"email": self.faker.email(),
|
| 185 |
"password": f"aA1!{uuid.uuid4().hex[:8]}",
|
|
|
|
| 175 |
logging.info(f"LOOP ITERATION {attempt} STARTED")
|
| 176 |
proxy_info = None
|
| 177 |
try:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 178 |
payload = {
|
| 179 |
"email": self.faker.email(),
|
| 180 |
"password": f"aA1!{uuid.uuid4().hex[:8]}",
|