File tree 4 files changed +7
-5
lines changed
4 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 1
- 1.6.3-dev
1
+ 1.6.3
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ require (
8
8
github.com/golang-jwt/jwt v3.2.2+incompatible
9
9
github.com/google/uuid v1.6.0
10
10
github.com/mitchellh/mapstructure v1.5.0
11
- github.com/omec-project/config5g v1.5.7
11
+ github.com/omec-project/config5g v1.5.8
12
12
github.com/omec-project/openapi v1.3.3
13
13
github.com/omec-project/util v1.2.13
14
14
github.com/prometheus/client_golang v1.21.0
Original file line number Diff line number Diff line change @@ -86,8 +86,8 @@ github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq
86
86
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 /go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ =
87
87
github.com/nbio/st v0.0.0-20140626010706-e9e8d9816f32 h1:W6apQkHrMkS0Muv8G/TipAy/FJl/rCYT0+EuS8+Z0z4 =
88
88
github.com/nbio/st v0.0.0-20140626010706-e9e8d9816f32 /go.mod h1:9wM+0iRr9ahx58uYLpLIr5fm8diHn0JbqRycJi6w0Ms =
89
- github.com/omec-project/config5g v1.5.7 h1:aEpq0/qi8AdwU5NmyX2cfdHhDdnoiq/kuaXBdRa723Q =
90
- github.com/omec-project/config5g v1.5.7 /go.mod h1:khrzrBBPugW6zRNiJlN8/kS8XjvuNj+CUfqSZFxqjmY =
89
+ github.com/omec-project/config5g v1.5.8 h1:ilcAjpxVyaf5YFK6fBvNMc4fX1hWzH4y1978EsBDaHI =
90
+ github.com/omec-project/config5g v1.5.8 /go.mod h1:khrzrBBPugW6zRNiJlN8/kS8XjvuNj+CUfqSZFxqjmY =
91
91
github.com/omec-project/openapi v1.3.3 h1:7eKUx/pJk/+YXWW/KMi6HINMZp/OXtkucwg5nY72hiQ =
92
92
github.com/omec-project/openapi v1.3.3 /go.mod h1:3yzI+RxQIqSiOYav4Si7aKxG0MyoWRxY1kPyLwdWzJo =
93
93
github.com/omec-project/util v1.2.13 h1:aeeeqRTlVITrtNnlrKuzhn4dMJP9uaE73cpYtGiAqfM =
Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ func manageGrpcClient(webuiUri string) {
104
104
count := 0
105
105
for {
106
106
if client != nil {
107
- if client .CheckGrpcConnectivity () != "ready " {
107
+ if client .CheckGrpcConnectivity () != "READY " {
108
108
time .Sleep (time .Second * 30 )
109
109
count ++
110
110
if count > 5 {
@@ -133,6 +133,8 @@ func manageGrpcClient(webuiUri string) {
133
133
go factory .NrfConfig .UpdateConfig (configChannel )
134
134
logger .InitLog .Infoln ("NRF updateConfig is triggered" )
135
135
}
136
+
137
+ time .Sleep (time .Second * 5 ) // Fixes (avoids) 100% CPU utilization
136
138
} else {
137
139
client , err = grpcClient .ConnectToConfigServer (webuiUri )
138
140
stream = nil
You can’t perform that action at this time.
0 commit comments