liquid_feedback_frontend

diff config/init.lua @ 1158:e9f6ae14bc72

Updated event notifications and moved code from config to prefork initializer
author bsw
date Tue Mar 24 11:50:08 2015 +0100 (2015-03-24)
parents 911253ad0898
children 65904de98d5e
line diff
     1.1 --- a/config/init.lua	Mon Mar 23 23:18:43 2015 +0100
     1.2 +++ b/config/init.lua	Tue Mar 24 11:50:08 2015 +0100
     1.3 @@ -108,32 +108,4 @@
     1.4      request.add_header("Cache-Control", "max-age=3600");
     1.5    end
     1.6  
     1.7 -  return
     1.8 -end
     1.9 -
    1.10 -if not config.fork then
    1.11 -  config.fork = {}
    1.12 -end
    1.13 -
    1.14 -if not config.fork.pre then
    1.15 -  config.fork.pre = 4
    1.16 -end
    1.17 -
    1.18 -if not config.fork.max then
    1.19 -  config.fork.max = 8
    1.20 -end
    1.21 -
    1.22 -if not config.fork.delay then
    1.23 -  config.fork.delay = 1
    1.24 -end
    1.25 -
    1.26 -if not config.port then
    1.27 -  config.port = 8080
    1.28 -end
    1.29 -
    1.30 -listen{
    1.31 -  { proto = "tcp4", port = config.port, localhost = true },
    1.32 -  pre_fork = config.fork.pre,
    1.33 -  max_fork = config.fork.max,
    1.34 -  fork_delay = config.fork.delay
    1.35 -}
    1.36 +end
    1.37 \ No newline at end of file

Impressum / About Us