loop
Browse files
App/Chat/PoeChatrouter.py
CHANGED
|
@@ -34,7 +34,8 @@ async def fetch_predictions(data):
|
|
| 34 |
|
| 35 |
if not proxy_set:
|
| 36 |
try:
|
| 37 |
-
fetcher = ProxyFetcher(
|
|
|
|
| 38 |
proxies = fetcher.get(
|
| 39 |
limit=10,
|
| 40 |
protocols=[Protocols.HTTP],
|
|
|
|
| 34 |
|
| 35 |
if not proxy_set:
|
| 36 |
try:
|
| 37 |
+
fetcher = ProxyFetcher()
|
| 38 |
+
fetcher.loop = loop
|
| 39 |
proxies = fetcher.get(
|
| 40 |
limit=10,
|
| 41 |
protocols=[Protocols.HTTP],
|