Commit a635a7ad authored by Niuhaiwen's avatar Niuhaiwen

set heart-timer to 1

parent 2f7d42e9
......@@ -98,7 +98,7 @@ ausf_app::ausf_app()
register_to_nrf();
}
timer_id_t tid = itti_inst->timer_setup(20, 0, TASK_AUSF_APP, TASK_AUSF_APP_PERIODIC_GETINFO, 0);
timer_nrf_heartbeat = itti_inst->timer_setup(10, 0, TASK_AUSF_APP, TASK_AUSF_APP_TIMEOUT_NRF_HEARTBEAT, 0);
timer_nrf_heartbeat = itti_inst->timer_setup(1, 0, TASK_AUSF_APP, TASK_AUSF_APP_TIMEOUT_NRF_HEARTBEAT, 0);
Logger::ausf_app().startup("Started");
}
void ausf_app::register_to_nrf(){
......@@ -114,7 +114,7 @@ void ausf_app::generate_ausf_profile(){
nf_instance_profile.set_nf_instance_name("bupt-ausf");
nf_instance_profile.set_nf_type("AUSF");
nf_instance_profile.set_nf_status("REGISTERED");
nf_instance_profile.set_nf_heartBeat_timer(10);
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(ausf_cfg.sbi.addr4);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment