liquid_feedback_frontend

view app/main/_prefork/10_init.lua @ 1164:51a17a0e26e9

Removed not needed default config values
author bsw
date Tue Mar 24 15:44:12 2015 +0100 (2015-03-24)
parents e9f6ae14bc72
children 3b00c08a6b90
line source
1 if not config.fork then
2 config.fork = {}
3 end
5 if not config.port then
6 config.port = 8080
7 end
9 if config.localhost == nil then
10 config.localhost = true
11 end
13 listen{
14 { proto = "tcp4", port = config.port, localhost = true },
15 { proto = "interval", delay = 5, handler = function()
16 Event:send_pending_notifications()
17 end },
18 pre_fork = config.fork.pre,
19 max_fork = config.fork.max,
20 fork_delay = config.fork.delay
21 }
23 execute.inner()

Impressum / About Us