From f4d8b2d4f33191ca50de4a0141a6bcf3e3a91309 Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Wed, 12 Jul 2023 11:39:03 -0400 Subject: [PATCH] MT#55283 disable redis async delete feature Temporarily turn this into a stub Change-Id: Ibf52b9d4504381f22be3c38d1c6d05b4a425c782 --- daemon/main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/daemon/main.c b/daemon/main.c index ddfbe44f3..7bcbdeae7 100644 --- a/daemon/main.c +++ b/daemon/main.c @@ -488,8 +488,12 @@ static void options(int *argc, char ***argv) { { "redis-disable-time", 0, 0, G_OPTION_ARG_INT, &rtpe_config.redis_disable_time, "Number of seconds redis communication is disabled because of errors", "INT" }, { "redis-cmd-timeout", 0, 0, G_OPTION_ARG_INT, &rtpe_config.redis_cmd_timeout, "Sets a timeout in milliseconds for redis commands", "INT" }, { "redis-connect-timeout", 0, 0, G_OPTION_ARG_INT, &rtpe_config.redis_connect_timeout, "Sets a timeout in milliseconds for redis connections", "INT" }, +#if 0 + // temporarily disabled, see discussion on https://github.com/sipwise/rtpengine/commit/2ebf5a1526c1ce8093b3011a1e23c333b3f99400 + // related to Change-Id: I83d9b9a844f4f494ad37b44f5d1312f272beff3f { "redis-delete-async", 'y', 0, G_OPTION_ARG_INT, &rtpe_config.redis_delete_async, "Enable asynchronous redis delete", NULL }, { "redis-delete-async-interval", 'y', 0, G_OPTION_ARG_INT, &rtpe_config.redis_delete_async_interval, "Set asynchronous redis delete interval (seconds)", NULL }, +#endif { "active-switchover", 0,0,G_OPTION_ARG_NONE, &rtpe_config.active_switchover, "Use call activity as indicator of active/standby state", NULL }, { "b2b-url", 'b', 0, G_OPTION_ARG_STRING, &rtpe_config.b2b_url, "XMLRPC URL of B2B UA" , "STRING" }, { "log-facility-cdr",0, 0, G_OPTION_ARG_STRING, &log_facility_cdr_s, "Syslog facility to use for logging CDRs", "daemon|local0|...|local7"},