Spaces:
Sleeping
Sleeping
Commit ·
f43abc8
1
Parent(s): 29f0de1
proxy pool race condition fixed
Browse files- freeplay2api.py +1 -0
freeplay2api.py
CHANGED
|
@@ -451,6 +451,7 @@ def initialize_app():
|
|
| 451 |
if config.get("USE_PROXY_POOL"):
|
| 452 |
logging.info("Initializing proxy pool...")
|
| 453 |
proxy_pool_config = config.get("PROXY_POOL_CONFIG", {})
|
|
|
|
| 454 |
proxy_pool = ProxyPool(proxy_pool_config)
|
| 455 |
# The initialize method will now run in the background
|
| 456 |
threading.Thread(target=proxy_pool.initialize, daemon=True).start()
|
|
|
|
| 451 |
if config.get("USE_PROXY_POOL"):
|
| 452 |
logging.info("Initializing proxy pool...")
|
| 453 |
proxy_pool_config = config.get("PROXY_POOL_CONFIG", {})
|
| 454 |
+
logging.info(f"Proxy pool config being used: {proxy_pool_config}")
|
| 455 |
proxy_pool = ProxyPool(proxy_pool_config)
|
| 456 |
# The initialize method will now run in the background
|
| 457 |
threading.Thread(target=proxy_pool.initialize, daemon=True).start()
|