[SBI] CLIENT max concurrent streams to 16384

This commit is contained in:
Sukchan Lee 2022-08-10 12:31:50 +09:00
parent db37bc8944
commit ec9fe7b31d
1 changed files with 2 additions and 0 deletions

View File

@ -118,6 +118,8 @@ ogs_sbi_client_t *ogs_sbi_client_add(ogs_sockaddr_t *addr)
curl_multi_setopt(multi, CURLMOPT_SOCKETDATA, client);
curl_multi_setopt(multi, CURLMOPT_TIMERFUNCTION, multi_timer_cb);
curl_multi_setopt(multi, CURLMOPT_TIMERDATA, client);
curl_multi_setopt(multi, CURLMOPT_MAX_CONCURRENT_STREAMS,
ogs_app()->pool.stream);
ogs_list_add(&ogs_sbi_self()->client_list, client);