From afe520f63198c3ff1ad0add1db1fe44c9aafa4a3 Mon Sep 17 00:00:00 2001 From: Sergey Chubaryan Date: Sat, 17 Aug 2024 15:15:31 +0300 Subject: [PATCH] fixes --- load_tests/makefile | 4 ++++ main.go | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/load_tests/makefile b/load_tests/makefile index 033153a..9608615 100644 --- a/load_tests/makefile +++ b/load_tests/makefile @@ -11,5 +11,9 @@ install: source .venv/bin/activate python3 -m pip install -r requirements.txt +# writes requiremets list to file +requirements: + pip freeze > requirements.txt + run-web: locust --host http://localhost:8080 \ No newline at end of file diff --git a/main.go b/main.go index 921d4f4..28d3afd 100644 --- a/main.go +++ b/main.go @@ -173,7 +173,7 @@ func main() { go func() { <-ctx.Done() - logger.Log().Msg("stopping service...") + logger.Log().Msg("stopping tcp listener...") listener.Close() }()