Update comment.
This commit is contained in:
@@ -11,9 +11,6 @@ require "resources.functions.trim";
|
|||||||
local api = api or freeswitch.API();
|
local api = api or freeswitch.API();
|
||||||
|
|
||||||
local function send_event(action, key)
|
local function send_event(action, key)
|
||||||
-- we need send event only if we use load_balance=true
|
|
||||||
-- but since this option set only in directory we can not
|
|
||||||
-- check it here.
|
|
||||||
local event = freeswitch.Event("MEMCACHE", action);
|
local event = freeswitch.Event("MEMCACHE", action);
|
||||||
event:addHeader("API-Command", "memcache");
|
event:addHeader("API-Command", "memcache");
|
||||||
event:addHeader("API-Command-Argument", action .. " " .. key);
|
event:addHeader("API-Command-Argument", action .. " " .. key);
|
||||||
|
|||||||
Reference in New Issue
Block a user