commit | 05ac42455fab8bba252bf124d6c450402429fd39 | [log] [tgz] |
---|---|---|
author | Thierry FOURNIER <tfournier@exceliance.fr> | Fri Feb 27 18:37:27 2015 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Sat Feb 28 23:12:37 2015 +0100 |
tree | e1b78bda3dbbf9932b013be7a09cc5bffffabfd0 | |
parent | 80f5fae591031afffdbdba3a4b66fb9e8ffdbcb7 [diff] |
MEDIUM: lua: Lua initialisation "on demand" Actually, the Lua context is always initilized in each session, even if the session doesn't use Lua. This behavior cause 5% performances loss. This patch initilize the Lua only if it is use by the session. The initialization is now on demand.