WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
+
+
+ This source code is part of the near-RT RIC (RAN Intelligent Controller)
+ platform project (RICP).
+
+
==================================================================================
*/
/*
)
const SERVICENAME = "rtmgr"
-const INTERVAL time.Duration = 2
+const INTERVAL time.Duration = 60
var (
args map[string]*string
go serveSBI(triggerSBI, sbiEngine, sdlEngine, rpeEngine)
for {
- time.Sleep(INTERVAL * time.Second)
if *args["nbi"] == "httpGetter" {
data, err := nbiEngine.(*nbi.HttpGetter).FetchAllXApps(*args["xm-url"])
if err != nil {
}
triggerSBI <- true
+
+ time.Sleep(INTERVAL * time.Second)
+ rtmgr.Logger.Debug("Periodic loop timed out. Setting triggerSBI flag to distribute updated routes.")
}
}