annotate mcserver/mcserver.cfg @ 54:c0b34039917a tip

Server: added an exposed function to log the start time of a performance (for log-to-audio sync)
author Mathieu Barthet <mathieu.barthet@eecs.qmul.ac.uk>
date Wed, 14 Oct 2015 19:20:08 +0100
parents c97feb7ef9e9
children
rev   line source
gyorgyf@0 1 #global server config
gyorgyf@0 2 [global]
gyorgyf@0 3
gyorgyf@0 4 # kakapo<->golden
gyorgyf@0 5 server.socket_host = "192.168.122.144"
gyorgyf@1 6 server.socket_port = 8030
gyorgyf@27 7 server.thread_pool = 50
gyorgyf@0 8 server.show_tracebacks = False
gyorgyf@0 9
gyorgyf@0 10 engine.autoreload_on = False #should be off
gyorgyf@0 11 engine.autoreload_frequency = 180 #sec
gyorgyf@0 12
gyorgyf@27 13 tools.sessions.on = False
gyorgyf@0 14 tools.sessions.timeout = 600 #min
gyorgyf@0 15 tools.sessions.clean_freq = 120 #min
gyorgyf@0 16
gyorgyf@0 17 # expose everything in static, but note that sessions are enabled in this scope
gyorgyf@0 18 tools.staticdir.on = True
gyorgyf@0 19 tools.staticdir.dir = 'static'
gyorgyf@0 20
gyorgyf@27 21 log.screen = None
gyorgyf@27 22 # log.access_file = 'mood-access.log'
gyorgyf@27 23 log.error_file = "mcserver.log"
gyorgyf@0 24
gyorgyf@0 25 #main app config
gyorgyf@0 26 [/]
gyorgyf@0 27 response.timeout = 600 #sec
gyorgyf@0 28 request.show_tracebacks = False
gyorgyf@27 29 tools.proxy.on = True
gyorgyf@0 30 # tools.staticdir.root = 'mcserver'
gyorgyf@0 31 tools.staticdir.on = True
gyorgyf@0 32 tools.staticdir.dir = 'static'
gyorgyf@0 33
gyorgyf@0 34 # explicit configuration of static content with sessions disabled
gyorgyf@0 35 [/script]
gyorgyf@0 36 tools.sessions.on = False
gyorgyf@27 37
gyorgyf@27 38 [/static]
gyorgyf@27 39 tools.sessions.on = False