await all

This commit is contained in:
Roy Olav Purser 2021-05-14 17:11:30 +02:00
parent 658e49e466
commit db96538980
Signed by: roypur
GPG Key ID: E14D26A036F21656

View File

@ -157,7 +157,6 @@ class UpstreamHandler():
self.upstream_safe = urllib.parse.quote(new_url) self.upstream_safe = urllib.parse.quote(new_url)
self.proxy = current self.proxy = current
proxies[self.provider] = current_list proxies[self.provider] = current_list
break
for delay in delays: for delay in delays:
try: try:
await delay.session.close() await delay.session.close()