From 34d356918e2693360f9e77fb52861198f7c5929c Mon Sep 17 00:00:00 2001 From: Humanz Date: Sat, 1 Jan 2022 21:14:04 +0700 Subject: [PATCH] Change limit --- pkg/engine/engine.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/engine/engine.go b/pkg/engine/engine.go index 6a66cf14..3062b584 100755 --- a/pkg/engine/engine.go +++ b/pkg/engine/engine.go @@ -822,8 +822,8 @@ func ParseInt64(value string) int64 { func GetMaxSqlConn() int { a := int((int64(memory.FreeMemory()/1024/1024) * 1024 * 1024) / 12582880) //Avoid discord Rate Limit - if a > 100 { - return 100 + if a > 50 { + return 50 } return a }