Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-AMF
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenXG
OpenXG-AMF
Commits
358093ed
Commit
358093ed
authored
Jul 22, 2021
by
Niuhaiwen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
set heart-timer to 1
parent
1ece6d38
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/amf-app/amf_app.cpp
src/amf-app/amf_app.cpp
+2
-2
No files found.
src/amf-app/amf_app.cpp
View file @
358093ed
...
...
@@ -86,7 +86,7 @@ amf_app::amf_app(const amf_config& amf_cfg) {
timer_id_t
tid
=
itti_inst
->
timer_setup
(
amf_cfg
.
statistics_interval
,
0
,
TASK_AMF_APP
,
TASK_AMF_APP_PERIODIC_STATISTICS
,
0
);
timer_nrf_heartbeat
=
itti_inst
->
timer_setup
(
1
0
,
0
,
TASK_AMF_APP
,
timer_nrf_heartbeat
=
itti_inst
->
timer_setup
(
1
,
0
,
TASK_AMF_APP
,
TASK_AMF_APP_TIMEOUT_NRF_HEARTBEAT
,
0
);
Logger
::
amf_app
().
startup
(
"Started timer (%d)"
,
tid
);
...
...
@@ -412,7 +412,7 @@ void amf_app::generate_amf_profile() {
nf_instance_profile
.
set_nf_instance_name
(
"OAI-AMF"
);
nf_instance_profile
.
set_nf_type
(
"AMF"
);
nf_instance_profile
.
set_nf_status
(
"REGISTERED"
);
nf_instance_profile
.
set_nf_heartBeat_timer
(
1
0
);
nf_instance_profile
.
set_nf_heartBeat_timer
(
1
);
nf_instance_profile
.
set_nf_priority
(
1
);
nf_instance_profile
.
set_nf_capacity
(
100
);
nf_instance_profile
.
add_nf_ipv4_addresses
(
amf_cfg
.
n11
.
addr4
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment