TykTechnologies / tyk

Tyk Open Source API Gateway written in Go, supporting REST, GraphQL, TCP and gRPC protocols
Other
9.7k stars 1.09k forks source link

[Do not merged] for testing purposes: added env var to simulate delay on connections #6495

Open sredxny opened 1 month ago

sredxny commented 1 month ago

Description

PR for testing delay on connections

Related Issue

Motivation and Context

How This Has Been Tested

Screenshots (if appropriate)

Types of changes

Checklist

github-actions[bot] commented 1 month ago

API Changes

--- prev.txt    2024-09-10 14:11:15.048589930 +0000
+++ current.txt 2024-09-10 14:11:11.636552837 +0000
@@ -11160,6 +11160,7 @@
     backoff ensuring indeed we can't connect to the rpc, this will eventually
     fall into emergency mode( That is handled outside of this function call)

+func GetEnvInt() int
 func GroupLogin() bool
 func IsEmergencyMode() bool
 func LoadCount() int
sonarcloud[bot] commented 1 month ago

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarCloud

Catch issues before they fail your Quality Gate with our IDE extension SonarLint