feat 排队

This commit is contained in:
2026-01-06 18:36:19 +08:00
parent fdb4798b36
commit 2e1a418485
10 changed files with 214 additions and 34 deletions

View File

@@ -9,10 +9,13 @@ log:
maxAge: 7
client:
count: 1
usn: [ 1,1000000 ]
count: 99
usn: [ 1,10000000 ]
http:
address: "http://127.0.0.1"
port: 8503
websocket:
# address: "ws://47.108.184.184/ws/"
address: "wss://www.hlsq.asia/ws/"
# address: "ws://127.0.0.1"
port: 0
# address: "ws://47.108.184.184/ws/"
# address: "wss://www.hlsq.asia/ws/"
address: "ws://127.0.0.1"
port: 8501

View File

@@ -10,6 +10,7 @@ type Config struct {
Client *struct {
Count int32 `yaml:"count"`
USN []int64 `yaml:"usn"`
Http *config.AddressConfig `yaml:"http"`
Websocket *config.AddressConfig `yaml:"websocket"`
} `yaml:"client"`
}

View File

@@ -11,6 +11,9 @@ log:
client:
count: 100
usn: [ 1,1000000 ]
http:
address: "http://127.0.0.1"
port: 8080
websocket:
address: "ws://172.18.28.0"
port: 8501