add apply proxy

This commit is contained in:
Yuriy Yuriev
2026-05-22 18:29:29 +07:00
parent 1529f27540
commit a411f2b65e
2 changed files with 21 additions and 0 deletions
+2
View File
@@ -1772,6 +1772,8 @@ class BotInterface:
await asyncio.gather(*[_check_one(p) for p in proxies], return_exceptions=True)
await self.proxy_manager.apply_check_results(results)
ok_ids = [pid for pid, ok in results.items() if ok]
fail_ids = [pid for pid, ok in results.items() if not ok]