feature: added new Lua API, ngx.timer.at(time, callback), for defining timers that can run the user callback as a Lua "light thread" (detached from the current request) after the time (in seconds) specified. also added new configure directives lua_max_pending_timers and lua_max_running_timers for limiting the number of pending timers and "running" timers.
Merge remote-tracking branch 'origin/master' into timer
Merge remote-tracking branch 'origin/master' into timer
merged "master" branch to "timer".
Merge branch 'master' into timer
Merge branch 'master' into timer
feature: when the nginx worker process is quitting (as in server shutdown or HUP reload), all the pending ngx.timer timers expire immediately and their Lua callbacks get called with a true value as the first argument (to indicate whether it is a premature expiration or not).
added a passing test for calling ngx.timer.at() after HUP reload.
feature: added support for user arguments to the user callback function specified in ngx.timer.add(); the user callback function has the prototype "function(premature, user_arg1, user_arg2, ...)".
merged "master" into "timer".
Merge branch 'timer'