From: Dennis Schafroth Date: Fri, 25 Nov 2011 13:45:09 +0000 (+0100) Subject: Revert "Add re-try on faulty show" X-Git-Tag: v1.6.6~2 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=94cec04d32ffd914ba3659f3c26374da9668d654;p=pazpar2-moved-to-github.git Revert "Add re-try on faulty show" This reverts commit d7aab7777fc655e0d0927ee1748ba4695d203859. This doesn't help on HTTP 417 errors. I still believe we need it, but reverting for now. --- diff --git a/js/pz2.js b/js/pz2.js index 1b586df..ca0d28c 100644 --- a/js/pz2.js +++ b/js/pz2.js @@ -430,10 +430,6 @@ pz2.prototype = for (i = 0; i < hits.length; i++) show.hits[i] = Element_parseChildNodes(hits[i]); } else { - // We prob. got a 417 Already blocked, need to retry - context.showTimer = setTimeout(function () { - context.show(); - }, delay); context.throwError('Show failed. Malformed WS resonse.', 114); }