Skip to content

Commit 8159f13

Browse files
committed
update logo
Signed-off-by: cwen0 <[email protected]>
1 parent d522460 commit 8159f13

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ while [[ $(kubectl get pods -l app=web-show -o 'jsonpath={..status.conditions[?(
1414

1515
kill $(lsof -t -i:8081) 2>&1 >/dev/null | True
1616

17-
nohup kubectl port-forward svc/web-show 8081:8081 2>&1 &
17+
nohup kubectl port-forward svc/web-show --address 0.0.0.0 8081:8081 2>&1 &

server/nework.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ func (p *PingD) Key() interface{} {
2121
func (p *PingD) SetPosition(_ int) {}
2222

2323
func (s *Server) startPing() {
24-
ticker := time.NewTicker(10 * time.Second)
24+
ticker := time.NewTicker(1 * time.Second)
2525
log.Info("start ping")
2626
for {
2727
select {
@@ -33,7 +33,7 @@ func (s *Server) startPing() {
3333
continue
3434
}
3535
pinger.SetPrivileged(true)
36-
pinger.Timeout = 5 * time.Second
36+
pinger.Timeout = 1 * time.Second
3737
pinger.Count = 1
3838
pinger.Run() // blocks until finished
3939
stats := pinger.Statistics()

server/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ func SetupServer(conf *Config) Server {
2020

2121
server := Server{
2222
router: r,
23-
pingData: queue.NewListQueue(200),
23+
pingData: queue.NewListQueue(360),
2424
conf: conf,
2525
}
2626

web/src/icons/chaosmesh.png

-25.2 KB
Loading

0 commit comments

Comments
 (0)