mirror of
https://github.com/nextepc/nextepc-oss.git
synced 2025-11-03 05:13:15 +00:00
Change Number of UEs usage [#533]
- Set the number of UEs in units of AMF/MME instead of gNB/eNB.
- See default value as shown below
Number of UEs per AMF/MME : 4,096
Number of gNB/eNB per AMF/MME : 32
This commit is contained in:
@@ -30,12 +30,14 @@ extern const ogs_pollset_actions_t ogs_select_actions;
|
||||
ogs_pollset_actions_t ogs_pollset_actions;
|
||||
bool ogs_pollset_actions_initialized = false;
|
||||
|
||||
ogs_pollset_t *ogs_pollset_create(void)
|
||||
ogs_pollset_t *ogs_pollset_create(unsigned int capacity)
|
||||
{
|
||||
ogs_pollset_t *pollset = ogs_calloc(1, sizeof *pollset);
|
||||
ogs_assert(pollset);
|
||||
|
||||
ogs_pool_init(&pollset->pool, ogs_core()->socket.pool);
|
||||
pollset->capacity = capacity;
|
||||
|
||||
ogs_pool_init(&pollset->pool, capacity);
|
||||
|
||||
if (ogs_pollset_actions_initialized == false) {
|
||||
#if defined(HAVE_KQUEUE)
|
||||
|
||||
Reference in New Issue
Block a user