Skip to content

Commit

Permalink
Merge pull request #277 from CybercentreCanada/kubernetes-watches
Browse files Browse the repository at this point in the history
Add second execption to ignore
  • Loading branch information
cccs-douglass committed Aug 12, 2021
2 parents bbe3c62 + bfb6253 commit df2ac46
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 df2ac46

Please sign in to comment.