webmcp

view demo-app/app/main/_postfork/01-db.lua @ 335:75be5e3f3581

Set default value of max requests per fork to 200 instead of 100
author jbe
date Tue Mar 24 17:38:50 2015 +0100 (2015-03-24)
parents 343f9af7f61f
children
line source
1 local db = assert(mondelefant.connect(config.db))
2 function mondelefant.class_prototype:get_db_conn() return db end
3 _G.db = db
4 execute.inner()
5 db:close()

Impressum / About Us