Skip to content
Browse files
also accept transport error as a bork
  • Loading branch information
Humbedooh committed Aug 23, 2021
1 parent eb4d40a commit 56d0a1c89401a1e5025090365e9725e72774628b
Showing 1 changed file with 2 additions and 0 deletions.
@@ -127,6 +127,8 @@ async def list_offenders(self, config: plugins.configuration.BlockyConfiguration
candidates = await find_top_clients(config, aggtype=self.aggtype, duration=self.duration, filters=self.filters)
except (asyncio.exceptions.TimeoutError, elasticsearch.exceptions.ConnectionTimeout, elasticsearch.exceptions.ConnectionError):
print("Offender search timed out, retrying later!")
except elasticsearch.exceptions.TransportError:
print("Transport error (503?), retrying later")
candidates = []
for candidate in candidates:
if candidate[1] >= self.limit:

0 comments on commit 56d0a1c

Please sign in to comment.