From fcac0e5de1978877210297967505ca3da0406547 Mon Sep 17 00:00:00 2001 From: FZambia Date: Sun, 31 Mar 2024 20:26:54 +0300 Subject: [PATCH] fix list lua --- internal/redis_lua/broker_history_add_list.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/internal/redis_lua/broker_history_add_list.lua b/internal/redis_lua/broker_history_add_list.lua index 1ffbc646..7bd80518 100644 --- a/internal/redis_lua/broker_history_add_list.lua +++ b/internal/redis_lua/broker_history_add_list.lua @@ -39,7 +39,6 @@ redis.call("ltrim", list_key, 0, ltrim_right_bound) redis.call("expire", list_key, list_ttl) if channel ~= '' then - local payload if use_delta == "1" then payload = "__" .. "d1:" .. top_offset .. ":" .. current_epoch .. ":" .. #prev_message_payload .. ":" .. prev_message_payload .. ":" .. #message_payload .. ":" .. message_payload end