webmcp
changeset 220:e69251d4ba0e
Bugfix: call execute.prefork_initializers() only once in mcp.lua
author | jbe |
---|---|
date | Sun Feb 22 17:16:13 2015 +0100 (2015-02-22) |
parents | db106eb273ea |
children | 25a20bd1f416 |
files | framework/bin/mcp.lua |
line diff
1.1 --- a/framework/bin/mcp.lua Sun Feb 22 13:42:48 2015 +0100 1.2 +++ b/framework/bin/mcp.lua Sun Feb 22 17:16:13 2015 +0100 1.3 @@ -179,11 +179,11 @@ 1.4 end 1.5 }) 1.6 1.7 --- execute configurations 1.8 +-- execute configurations and pre-fork initializers 1.9 for i, config_name in ipairs(WEBMCP_CONFIG_NAMES) do 1.10 execute.config(config_name) 1.11 - execute.prefork_initializers() 1.12 end 1.13 +execute.prefork_initializers() 1.14 1.15 -- interactive console mode 1.16 if WEBMCP_MODE == "interactive" then