# HG changeset patch # User jbe # Date 1503358509 -7200 # Node ID 50746f1e8a43588e44df76de2fca4c53ec0173d1 # Parent 35124a570168fa0728d2772302508c481f53b480 Fixed typo in documentation diff -r 35124a570168 -r 50746f1e8a43 doc/autodoc-header.htmlpart --- a/doc/autodoc-header.htmlpart Mon Aug 21 20:35:50 2017 +0200 +++ b/doc/autodoc-header.htmlpart Tue Aug 22 01:35:09 2017 +0200 @@ -124,7 +124,7 @@
- Filters and initializers are created by adding files in the application's directory structure. The filename determins the execution order of otherwise equally ranked initializers and/or filters. It is a common idiom to start the filename of a filter or initializer with a two digit number to be easily able to change the execution order when desired. Filters and initializers are executed both before and after a request. Each file must contain an execute.inner() command. The part before that command is executed before the request, and the part after that command is executed after the request. + Filters and initializers are created by adding files in the application's directory structure. The filename determines the execution order of otherwise equally ranked initializers and/or filters. It is a common idiom to start the filename of a filter or initializer with a two digit number to be easily able to change the execution order when desired. Filters and initializers are executed both before and after a request. Each file must contain an execute.inner() command. The part before that command is executed before the request, and the part after that command is executed after the request.
The Moonbridge server creates forks (i.e. clones) of the application server process (i.e. the whole Lua engine including all libraries and variables) in order to handle concurrent requests. Certain initializations may be performed before forking, other initializations must be performed after forking. For this purpose, WebMCP allows an application to provide so-called "pre-fork" and "post-fork" initializers. The application's configuration files as well as its pre-fork initializers are executed before forking. The application's post-fork initializers are executed after forking. In particular, any libraries that open file or network handles during initialization must not be loaded before the server process is forked. Opening database connections must be performed after forking as well. WebMCP follows the following execution order (directory structure is explained further down):