acd: Add 502 Bad Gateway to list of errors we retry

This commit is contained in:
Nick Craig-Wood 2016-11-03 18:56:21 +00:00
parent b35123ba48
commit 452c68115f

View File

@ -142,6 +142,7 @@ var retryErrorCodes = []int{
408, // Request Timeout 408, // Request Timeout
429, // Rate exceeded. 429, // Rate exceeded.
500, // Get occasional 500 Internal Server Error 500, // Get occasional 500 Internal Server Error
502, // Bad Gateway when doing big listings
503, // Service Unavailable 503, // Service Unavailable
504, // Gateway Time-out 504, // Gateway Time-out
} }