Skip to content
This repository has been archived by the owner on Mar 22, 2021. It is now read-only.

Commit

Permalink
指定GOGC
Browse files Browse the repository at this point in the history
  • Loading branch information
hb-chen committed Jul 10, 2018
1 parent 03d2147 commit f9da95a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ rm -rf pkg/*
echo -e "$LogPrefix `date +"%H:%M:%S"` [\033[42;37m run \033[0m] server"

# 使用默认配置
go run echo.go
GOGC=1000 go run echo.go

# 指定配置文件
# go run echo.go -c conf/conf.toml

0 comments on commit f9da95a

Please sign in to comment.