mirror of https://github.com/apache/cloudstack.git
refresh host/primarystorage/systemvm/router/instance status every 5 seconds instead of every 2 seconds.
This commit is contained in:
parent
209be1065b
commit
b9c8cb0179
|
|
@ -132,7 +132,7 @@ function hostJsonToDetailsTab() {
|
|||
if($midmenuItem1.find("#spinning_wheel").css("display") == "none") {
|
||||
if(jsonObj.state in hostChangableStatus) {
|
||||
$("body").everyTime(
|
||||
2000,
|
||||
5000,
|
||||
timerKey,
|
||||
function() {
|
||||
$.ajax({
|
||||
|
|
|
|||
|
|
@ -1838,7 +1838,7 @@ function vmJsonToDetailsTab(){
|
|||
if($midmenuItem1.find("#spinning_wheel").css("display") == "none") {
|
||||
if(jsonObj.state in vmChangableStatus) {
|
||||
$("body").everyTime(
|
||||
2000,
|
||||
5000,
|
||||
timerKey,
|
||||
function() {
|
||||
$.ajax({
|
||||
|
|
|
|||
|
|
@ -122,7 +122,7 @@ function primarystorageJsonToDetailsTab() {
|
|||
if($midmenuItem1.find("#spinning_wheel").css("display") == "none") {
|
||||
if(jsonObj.state in primarystorageChangableStatus) {
|
||||
$("body").everyTime(
|
||||
2000,
|
||||
5000,
|
||||
timerKey,
|
||||
function() {
|
||||
$.ajax({
|
||||
|
|
|
|||
|
|
@ -140,7 +140,7 @@ function routerJsonToDetailsTab() {
|
|||
if($midmenuItem1.find("#spinning_wheel").css("display") == "none") {
|
||||
if(jsonObj.state in vmChangableStatus) {
|
||||
$("body").everyTime(
|
||||
2000,
|
||||
5000,
|
||||
timerKey,
|
||||
function() {
|
||||
$.ajax({
|
||||
|
|
|
|||
|
|
@ -114,7 +114,7 @@ function systemvmJsonToDetailsTab() {
|
|||
if($midmenuItem1.find("#spinning_wheel").css("display") == "none") {
|
||||
if(jsonObj.state in vmChangableStatus) {
|
||||
$("body").everyTime(
|
||||
2000,
|
||||
5000,
|
||||
timerKey,
|
||||
function() {
|
||||
$.ajax({
|
||||
|
|
|
|||
Loading…
Reference in New Issue