Merge pull request #1276 from bbx-winner/master

fix: disable keep alive and improve RPS accuracy
This commit is contained in:
debugtalk
2022-05-09 22:12:57 +08:00
committed by GitHub
6 changed files with 30 additions and 35 deletions

View File

@@ -41,6 +41,7 @@ var boomCmd = &cobra.Command{
}
hrpBoomer.SetDisableKeepAlive(disableKeepalive)
hrpBoomer.SetDisableCompression(disableCompression)
hrpBoomer.SetClientTransport()
hrpBoomer.EnableCPUProfile(cpuProfile, cpuProfileDuration)
hrpBoomer.EnableMemoryProfile(memoryProfile, memoryProfileDuration)
hrpBoomer.EnableGracefulQuit()