Skip to content
Snippets Groups Projects
Commit 3f500081 authored by Adrien Béraud's avatar Adrien Béraud
Browse files

sipvoiplink: increase initial pool size


Change-Id: Id8ce5c26459cedb5678c01cbfcce9b63d53ab668
Reviewed-by: default avatarAndreas Traczyk <andreas.traczyk@savoirfairelinux.com>
parent a9280e3b
Branches
No related tags found
No related merge requests found
......@@ -494,7 +494,7 @@ SIPVoIPLink::SIPVoIPLink() : pool_(nullptr, pj_pool_release)
} while (0)
pj_caching_pool_init(&cp_, &pj_pool_factory_default_policy, 0);
pool_.reset(pj_pool_create(&cp_.factory, PACKAGE, 4096, 4096, nullptr));
pool_.reset(pj_pool_create(&cp_.factory, PACKAGE, 64 * 1024, 4096, nullptr));
if (!pool_)
throw VoipLinkException("UserAgent: Could not initialize memory pool");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment