Skip to content

Commit

Permalink
Merge pull request #276 from CybercentreCanada/kubernetes-watches
Browse files Browse the repository at this point in the history
Add second execption to ignore (dev)
  • Loading branch information
cccs-douglass authored Aug 12, 2021
2 parents 22ead95 + bfb6253 commit fdacef4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assemblyline_core/scaler/controllers/kubernetes_ctl.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ def _function():
try:
function()

except urllib3.exceptions.ProtocolError:
except (urllib3.exceptions.ProtocolError, urllib3.exceptions.ReadTimeoutError):
# Protocol errors are a product of api connections timing out, just retry silently.
pass

Expand Down

0 comments on commit fdacef4

Please sign in to comment.