mirror of
https://github.com/open5gs/open5gs.git
synced 2025-11-02 13:03:31 +00:00
[SBI] Increased the max stream number
This commit is contained in:
@@ -81,6 +81,7 @@ static void recalculate_pool_size(void)
|
||||
self.pool.socket = self.max.ue * POOL_NUM_PER_UE;
|
||||
self.pool.subscription = self.max.ue * POOL_NUM_PER_UE;
|
||||
self.pool.xact = self.max.ue * POOL_NUM_PER_UE;
|
||||
self.pool.stream = self.max.ue * POOL_NUM_PER_UE;
|
||||
|
||||
self.pool.nf = self.max.peer;
|
||||
self.pool.gtp_node = self.pool.nf;
|
||||
|
||||
@@ -124,6 +124,7 @@ typedef struct ogs_app_context_s {
|
||||
uint64_t socket;
|
||||
uint64_t subscription;
|
||||
uint64_t xact;
|
||||
uint64_t stream;
|
||||
|
||||
uint64_t nf;
|
||||
uint64_t gtp_node;
|
||||
|
||||
@@ -1112,7 +1112,7 @@ static int session_send_preface(ogs_sbi_session_t *sbi_sess)
|
||||
{
|
||||
int rv;
|
||||
nghttp2_settings_entry iv[1] = {
|
||||
{ NGHTTP2_SETTINGS_MAX_CONCURRENT_STREAMS, 100 }
|
||||
{ NGHTTP2_SETTINGS_MAX_CONCURRENT_STREAMS, ogs_app()->pool.stream }
|
||||
};
|
||||
|
||||
ogs_assert(sbi_sess);
|
||||
|
||||
Reference in New Issue
Block a user