Spaces:
Sleeping
Sleeping
Update static/API_Refresh_workerJS.js
Browse files
static/API_Refresh_workerJS.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
-
getRefreshAPIAjax()
|
| 2 |
intervalBegin()
|
| 3 |
|
| 4 |
function intervalBegin(){
|
| 5 |
// minutes= min *60*1000
|
| 6 |
-
intervalAPI= setInterval( getRefreshAPIAjax ,
|
| 7 |
|
| 8 |
}
|
| 9 |
|
|
|
|
| 1 |
+
// getRefreshAPIAjax()
|
| 2 |
intervalBegin()
|
| 3 |
|
| 4 |
function intervalBegin(){
|
| 5 |
// minutes= min *60*1000
|
| 6 |
+
intervalAPI= setInterval( getRefreshAPIAjax ,3600000) // 60*60*1000
|
| 7 |
|
| 8 |
}
|
| 9 |
|