Revision: 5465 http://sourceforge.net/p/jump-pilot/code/5465 Author: michaudm Date: 2017-06-13 15:03:10 +0000 (Tue, 13 Jun 2017) Log Message: ----------- WMS getCapability often timeout : increase read timeout to 20s
Modified Paths: -------------- core/trunk/ChangeLog core/trunk/src/com/vividsolutions/wms/WMService.java Modified: core/trunk/ChangeLog =================================================================== --- core/trunk/ChangeLog 2017-06-11 08:09:48 UTC (rev 5464) +++ core/trunk/ChangeLog 2017-06-13 15:03:10 UTC (rev 5465) @@ -3,6 +3,9 @@ # 2. make sure that lines break at 80 chars for constricted display situations #<-------------------------------- 80 chars ----------------------------------># +2017-06-13 mmichaud <m.michael.mich...@orange.fr> + * WMS getCapability often timeout : increase read timeout to 20s + 2017-06-11 mmichaud <m.michael.mich...@orange.fr> * Fix combine layers : guarantee unique name for the new attribute Modified: core/trunk/src/com/vividsolutions/wms/WMService.java =================================================================== --- core/trunk/src/com/vividsolutions/wms/WMService.java 2017-06-11 08:09:48 UTC (rev 5464) +++ core/trunk/src/com/vividsolutions/wms/WMService.java 2017-06-13 15:03:10 UTC (rev 5465) @@ -69,8 +69,8 @@ private Capabilities cap; // timeouts in ms - public static final int TIMEOUT_OPEN = 5000; - public static final int TIMEOUT_READ = 2 * TIMEOUT_OPEN; + public static final int TIMEOUT_OPEN = 5000; + public static final int TIMEOUT_READ = 20000; /** * Constructs a WMService object from a server URL. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel