Changeset 11188
- Timestamp:
- 06/11/08 13:38:38 (4 years ago)
- Location:
- trunk/Xul_Cms/chrome/content/scenaricms
- Files:
-
- 3 edited
-
ut.js (modified) (1 diff)
-
wspmgr/wsput.js (modified) (2 diffs)
-
wspview/wspview.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Xul_Cms/chrome/content/scenaricms/ut.js
r11176 r11188 749 749 }catch(e){ut.debug(e);} 750 750 } 751 752 /** Nombre d'éssais de connection au serveur local avant timeout */ 753 ut.cnxLocalSvrMaxAttempts = (ut.isMac ? 25 : 15); 754 751 755 // ####################### Gestion de la font-size ####################### 752 756 -
trunk/Xul_Cms/chrome/content/scenaricms/wspmgr/wsput.js
r11147 r11188 303 303 } 304 304 }else{//pas de réponse du serveur 305 if(vCounter <10){305 if(vCounter < ut.cnxLocalSvrMaxAttempts){ 306 306 vCounter++; 307 307 window.setTimeout(function(pDataProvider, pUrl, pCb){pDataProvider.loadFromService(pUrl, pCb, pCb);}, 500, pDataProvider, "/u/adminWsp?cdaction=InfoWsp¶m="+pCodeWsp, cb); … … 354 354 ut.debug("Le server '" + (pDataProvider.isLocal() ? "local" : pDataProvider.getWspServer().getId()) + "' est indisponible : " + vTarget.status); 355 355 } 356 }else if(pDataProvider.isLocal() && vInitCounter < 5){// Le serveur peut ne pas répondre lors de son lancement356 }else if(pDataProvider.isLocal() && vInitCounter < ut.cnxLocalSvrMaxAttempts){// Le serveur peut ne pas répondre lors de son lancement 357 357 ut.debug("Serveur local non ready; tentative n°" + vInitCounter); 358 358 vInitCounter++; -
trunk/Xul_Cms/chrome/content/scenaricms/wspview/wspview.js
r10889 r11188 802 802 try{ 803 803 if(sWspView.fDataProvider.isLocal()) { 804 if(vCountCheck > 12) {804 if(vCountCheck > ut.cnxLocalSvrMaxAttempts) { 805 805 sWspView.xResetTreeMessage("Echec au lancement des ateliers locaux !"); 806 806 ut.alert("Le lancement d'une partie de l'application a échoué. Quittez et relancez l'application ultérieurement.", "Echec au lancement des ateliers locaux");
Note: See TracChangeset
for help on using the changeset viewer.