This commit is contained in:
Ryan Tharp 2020-04-16 16:28:18 -07:00
parent b119a1d0d4
commit 43b8b779f2

View file

@ -277,6 +277,7 @@ const sendToProxy = async (options = {}, targetNode, retryNumber = 0) => {
return sendToProxy(options, targetNode, retryNumber + 1); return sendToProxy(options, targetNode, retryNumber + 1);
} }
// 504 is only present in 2.0.3 and after
// relay is fine but destination is not good // relay is fine but destination is not good
if (response.status === 504) { if (response.status === 504) {
const pRetryNumber = retryNumber + 1; const pRetryNumber = retryNumber + 1;