Commit 3f500081 authored by Adrien Béraud's avatar Adrien Béraud

sipvoiplink: increase initial pool size

Change-Id: Id8ce5c26459cedb5678c01cbfcce9b63d53ab668
Reviewed-by: Andreas Traczyk's avatarAndreas Traczyk <andreas.traczyk@savoirfairelinux.com>
parent a9280e3b
......@@ -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");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment