Explorar o código

wfs_connectiontimeout set to 60"

Michal Šrédl %!s(int64=13) %!d(string=hai) anos
pai
achega
768fb9c4fb
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      wfs/__init__.py

+ 1 - 0
wfs/__init__.py

@@ -46,6 +46,7 @@ class WFS(OWS):
                 
                 
             mapobj.setMetaData("wms_srs",self.config.get("MapServer","srs"))
             mapobj.setMetaData("wms_srs",self.config.get("MapServer","srs"))
             mapobj.setMetaData("wfs_srs",self.config.get("MapServer","srs"))
             mapobj.setMetaData("wfs_srs",self.config.get("MapServer","srs"))
+            mapobj.setMetaData("wfs_connectiontimeout","60")
             layer = self.capabilities.contents[name]
             layer = self.capabilities.contents[name]
 
 
             logging.debug("Creating layer %s" % name)
             logging.debug("Creating layer %s" % name)