added a maximum capacity to the pending task multiqueue, so that the buffer pool does not get depleted

master
Francisco Paisana 5 years ago committed by Andre Puschmann
parent ceba00f00e
commit 11ec5cdba6

@ -38,7 +38,8 @@ ue_stack_lte::ue_stack_lte() :
rrc(&rrc_log),
pdcp(&pdcp_log),
nas(&nas_log),
thread("STACK")
thread("STACK"),
pending_tasks(1024)
{
ue_queue_id = pending_tasks.add_queue();
sync_queue_id = pending_tasks.add_queue();

Loading…
Cancel
Save