From 8a1de0ae5f7eba6e86b11c7e5ca0cb36a6988a92 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 30 Apr 2018 16:11:50 +0100 Subject: [Rework] Implement flags for inserting a symbol --- src/lua/lua_task.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/lua/lua_task.c') diff --git a/src/lua/lua_task.c b/src/lua/lua_task.c index 9819c4eac..dbd0dcd9b 100644 --- a/src/lua/lua_task.c +++ b/src/lua/lua_task.c @@ -81,9 +81,10 @@ LUA_FUNCTION_DEF (task, get_ev_base); */ LUA_FUNCTION_DEF (task, get_worker); /*** - * @method task:insert_result(symbol, weight[, option1, ...]) + * @method task:insert_result([enforce_symbol,]symbol, weight[, option1, ...]) * Insert specific symbol to the tasks scanning results assigning the initial * weight to it. + * @param {boolean} enforce_symbol if represented and true, then insert symbol even if it is not registered in the metric * @param {string} symbol symbol to insert * @param {number} weight initial weight (this weight is multiplied by the metric weight) * @param {string} options list of optional options attached to a symbol inserted -- cgit v1.2.3