From b5882ae7958c38ee36a661db6a3eff3a0a4d970e Mon Sep 17 00:00:00 2001 From: Angular2guy Date: Sun, 31 Mar 2024 14:29:41 +0200 Subject: [PATCH] feat: add gin prod config --- backend/run.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/run.sh b/backend/run.sh index 7341236..a7ba76d 100755 --- a/backend/run.sh +++ b/backend/run.sh @@ -3,6 +3,7 @@ export GOGC=off export GOMEMLIMIT=384MiB export GODEBUG=gctrace=1 export GOMAXPROCS=12 +#export GIN_MODE=release #to support differen libc versions export CGO_ENABLED=0 #echo $GOGC $GOMEMLIMIT $GODEBUG $CGO_ENABLED