소스 검색

Added retry logic for system usage

Toby Chui 1 년 전
부모
커밋
88d507fa6f
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. 6 0
      web/SystemAO/info/taskManager.html

+ 6 - 0
web/SystemAO/info/taskManager.html

@@ -443,6 +443,12 @@
                         updateData();
                     }, 100);
                 },
+                error: function(){
+                    //Error, retry in 5 seconds
+                    setTimeout(function(){
+                        updateData();
+                    }, 5000);
+                },
                 timeout: 2000
             });
         }