From 5e10dbbe2c7ab362548dfc6402ad82ad712a0702 Mon Sep 17 00:00:00 2001 From: lbbniu Date: Thu, 1 Jun 2023 15:57:58 +0800 Subject: [PATCH] out of limit return 429 --- ConfigServer/ConfigImp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ConfigServer/ConfigImp.cpp b/ConfigServer/ConfigImp.cpp index e33e3b6e..ae417b95 100644 --- a/ConfigServer/ConfigImp.cpp +++ b/ConfigServer/ConfigImp.cpp @@ -22,7 +22,7 @@ extern TC_Config * g_pconf; #define CHECKLIMIT(a,b,c,f) do{\ if(IsLimited((a),(b),(c),(f)))\ {\ - return 0;\ + return 429;\ }}while(0) using namespace tars;