From 3d2bb1b9f1fd391d97ff3fc914419f69f3e3aed1 Mon Sep 17 00:00:00 2001 From: Medcl Date: Sun, 29 Dec 2024 16:08:13 +0800 Subject: [PATCH] chore: remove unused sleep (#9) --- main.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/main.go b/main.go index 48a2086..4eacfe4 100644 --- a/main.go +++ b/main.go @@ -281,7 +281,7 @@ func main() { terminalFooter := ("") app := framework.NewApp("loadgen", "A http load generator and testing suite.", - util.TrimSpaces(config.Version), util.TrimSpaces(config.BuildNumber), util.TrimSpaces(config.LastCommitLog), util.TrimSpaces(config.BuildDate), util.TrimSpaces(config.EOLDate), terminalHeader, terminalFooter) + config.Version, config.BuildNumber, config.LastCommitLog, config.BuildDate, config.EOLDate, terminalHeader, terminalFooter) app.IgnoreMainConfigMissing() app.Init(nil) @@ -409,8 +409,6 @@ func main() { app.Run() } - time.Sleep(1 * time.Second) - } func runDSLFile(appConfig *AppConfig, path string) int {