From 403ac97fed3b8bc065d5cb51c616af52f3df0dca Mon Sep 17 00:00:00 2001
From: wang--ge <wang__ge@126.com>
Date: Tue, 29 Nov 2022 14:46:54 +0800
Subject: [PATCH] downgrade required erlang version

---
 .../rabbitmq_prelaunch/src/rabbit_prelaunch_erlang_compat.erl | 4 ++--
 .../rabbitmq_prelaunch/src/rabbit_prelaunch_erlang_compat.erl | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/deps/rabbit/apps/rabbitmq_prelaunch/src/rabbit_prelaunch_erlang_compat.erl b/deps/rabbit/apps/rabbitmq_prelaunch/src/rabbit_prelaunch_erlang_compat.erl
index 2467570..eb19bbe 100644
--- a/deps/rabbit/apps/rabbitmq_prelaunch/src/rabbit_prelaunch_erlang_compat.erl
+++ b/deps/rabbit/apps/rabbitmq_prelaunch/src/rabbit_prelaunch_erlang_compat.erl
@@ -6,8 +6,8 @@
 
 -export([check/1]).
 
--define(OTP_MINIMUM, "24.2").
--define(ERTS_MINIMUM, "12.2").
+-define(OTP_MINIMUM, "23.2").
+-define(ERTS_MINIMUM, "11.1").
 
 check(_Context) ->
     ?LOG_DEBUG(
diff --git a/deps/rabbitmq_prelaunch/src/rabbit_prelaunch_erlang_compat.erl b/deps/rabbitmq_prelaunch/src/rabbit_prelaunch_erlang_compat.erl
index 2467570..eb19bbe 100644
--- a/deps/rabbitmq_prelaunch/src/rabbit_prelaunch_erlang_compat.erl
+++ b/deps/rabbitmq_prelaunch/src/rabbit_prelaunch_erlang_compat.erl
@@ -6,8 +6,8 @@
 
 -export([check/1]).
 
--define(OTP_MINIMUM, "24.2").
--define(ERTS_MINIMUM, "12.2").
+-define(OTP_MINIMUM, "23.2").
+-define(ERTS_MINIMUM, "11.1").
 
 check(_Context) ->
     ?LOG_DEBUG(
-- 
2.27.0

