move a bunch of things to celery
[wolnelektury.git] / apps / waiter / templates / waiter / wait.html
index a9efecd..e15bd64 100644 (file)
@@ -78,8 +78,8 @@ function wait() {
             else
                 setTimeout(wait, 10*1000);
         },
-        error: function() {
-            setTimeout(wait, 10*1000);
+        error: function(xhr) {
+            location.reload();
         }
     });
 }