summaryrefslogtreecommitdiff
path: root/tools/test_rate_limit.go
diff options
context:
space:
mode:
authorKyren223 <kyren223@proton.me>2025-07-30 20:06:22 +0300
committerKyren223 <kyren223@proton.me>2025-07-30 20:06:22 +0300
commit77dc3bf32f2b0c651df8bdb2d7ddd0d6e34cef0e (patch)
tree1d9990633ec8a8267ccfd0ec2091332cb99315a6 /tools/test_rate_limit.go
parentfb8fba2265bd5229ec68da553587132af6c9521f (diff)
Fixed ci to pass, removed pyroscope
Diffstat (limited to 'tools/test_rate_limit.go')
-rw-r--r--tools/test_rate_limit.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/test_rate_limit.go b/tools/test_rate_limit.go
index 7c25d20..7cc81d0 100644
--- a/tools/test_rate_limit.go
+++ b/tools/test_rate_limit.go
@@ -11,7 +11,7 @@ import (
const addr = "localhost:7223"
var tlsConfig = &tls.Config{
- InsecureSkipVerify: true, // skip cert verification
+ InsecureSkipVerify: true, // #nosec G402 skip cert verification
}
func connect(n int, label string) {
@@ -27,7 +27,7 @@ func connect(n int, label string) {
}
time.Sleep(300 * time.Millisecond)
for _, c := range conns {
- c.Close()
+ _ = c.Close()
}
time.Sleep(200 * time.Millisecond)
}