Skip to content

Commit bdc4a12

Browse files
committed
update discover
1 parent ebfa911 commit bdc4a12

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

Proxy.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ func processProxy(request *Request, response *Response, startTime *time.Time, re
205205
"uri": request.RequestURI,
206206
})
207207
discover.AddExternalApp(app, u.String(Config.RedirectTimeout))
208-
discover.Restart()
208+
//discover.Restart()
209209
}
210210
}
211211
//fmt.Println(" ^^^^%%%%%%%", app, discover.Config.Calls[app])

Server.go

+1
Original file line numberDiff line numberDiff line change
@@ -992,6 +992,7 @@ func (as *AsyncServer) Start() {
992992
as.stop()
993993
return
994994
}
995+
logInfo("started discover")
995996

996997
for _, ts := range timerServers {
997998
logInfo("starting timer server", "name", ts.name, "interval", ts.intervalDuration/time.Millisecond)

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ require (
88
github.com/gorilla/websocket v1.5.3
99
github.com/shirou/gopsutil/v3 v3.24.5
1010
github.com/ssgo/config v1.7.7
11-
github.com/ssgo/discover v1.7.7
11+
github.com/ssgo/discover v1.7.8
1212
github.com/ssgo/httpclient v1.7.7
1313
github.com/ssgo/log v1.7.7
1414
github.com/ssgo/redis v1.7.7

0 commit comments

Comments
 (0)