← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 4458: changed ajax-timeout to 10s

 

------------------------------------------------------------
revno: 4458
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2011-08-26 16:17:36 +0200
message:
  changed ajax-timeout to 10s
modified:
  dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/dhis2/dhis2.availability.js
  dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/ouwt/ouwt.js


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/dhis2/dhis2.availability.js'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/dhis2/dhis2.availability.js	2011-08-26 12:20:24 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/dhis2/dhis2.availability.js	2011-08-26 14:17:36 +0000
@@ -50,7 +50,7 @@
         $.ajax( {
             url : "../dhis-web-commons-stream/ping.action",
             cache : false,
-            timeout: 5000,
+            timeout: 10000,
     		dataType : "json",
             success : function( data, textStatus, jqXHR )
             {
@@ -109,7 +109,7 @@
         url : "../dhis-web-commons-stream/ping.action",
         async : false,
         cache : false,
-        timeout: 5000,
+        timeout: 10000,
     	dataType : "json",
         success : function( data, textStatus, jqXHR )
         {

=== modified file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/ouwt/ouwt.js'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/ouwt/ouwt.js	2011-08-26 12:38:27 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/ouwt/ouwt.js	2011-08-26 14:17:36 +0000
@@ -304,7 +304,7 @@
                         id : unitId
                     },
                     type: 'POST',
-                    timeout: 5000,
+                    timeout: 10000,
                     complete: this.responseReceived
                 });