gws.server.types

class gws.server.types.ModuleConfig(*args, **kwargs)[source]
enabled = True

the module is enabled

threads = 0

number of threads for this module

workers = 4

number of processes for this module

class gws.server.types.SpoolConfig(*args, **kwargs)[source]

Spool server module

jobFrequency = 3

background jobs checking frequency

class gws.server.types.WebConfig(*args, **kwargs)[source]

Web server module

maxRequestLength = 10

max request length in megabytes

class gws.server.types.MapproxyConfig(*args, **kwargs)[source]

Mapproxy server module

host = 'localhost'
port = 5000
class gws.server.types.MonitorConfig(*args, **kwargs)[source]
enabled = True

the module is enabled

frequency = 30

filesystem changes check frequency

ignore = None

ignore paths that match these regexes

class gws.server.types.QgisConfig(*args, **kwargs)[source]

Bundled QGIS server module

host = 'localhost'
port = 4000
maxRequests = 6

max concurrent requests to this server

debug = 0

QGIS_DEBUG (env. variable)

serverLogLevel = 2

QGIS_SERVER_LOG_LEVEL (env. variable)

serverCacheSize = 10000000

QGIS_SERVER_CACHE_SIZE (env. variable)

maxCacheLayers = 4000

MAX_CACHE_LAYERS (env. variable)

searchPathsForSVG = None

searchPathsForSVG (ini setting)

legend = None

default legend settings

class gws.server.types.Config(*args, **kwargs)[source]

Server module configuation

autoRun = ''

shell command to run before server start

log = ''

log path

logLevel = 'INFO'

logging level

mapproxy = {}

bundled Mapproxy module

qgis = {}

bundled Qgis module

spool = {}

spool server module

timeout = 60

server timeout

monitor = {}

monitor configuation

web = {}

web server module