summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@broadpark.no>2020-02-14 13:36:14 +0100
committerTor Egge <Tor.Egge@broadpark.no>2020-02-14 13:43:59 +0100
commit062fe02f36365149160ead9bdd1bfa32b32d6df7 (patch)
treecd59bc85a93eea5ec8b3c77912ae5ce8b0d3d586
parent1ed426e9c2ec767f96f45b9ec2608125a17679dd (diff)
Use larger thread stacks (128 kiB) in FRT standalone supervisor
(used by unit tests). 60 kiB is not sufficent when running on Darwin and using lz4 library.
-rw-r--r--fnet/src/vespa/fnet/frt/supervisor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/fnet/src/vespa/fnet/frt/supervisor.cpp b/fnet/src/vespa/fnet/frt/supervisor.cpp
index f9cbfe2a662..a8cb7884534 100644
--- a/fnet/src/vespa/fnet/frt/supervisor.cpp
+++ b/fnet/src/vespa/fnet/frt/supervisor.cpp
@@ -409,7 +409,7 @@ FRT_Supervisor::SchedulerPtr::SchedulerPtr(FNET_TransportThread *transport_threa
namespace fnet::frt {
StandaloneFRT::StandaloneFRT()
- : _threadPool(std::make_unique<FastOS_ThreadPool>(1024*60)),
+ : _threadPool(std::make_unique<FastOS_ThreadPool>(1024*128)),
_transport(std::make_unique<FNET_Transport>()),
_supervisor(std::make_unique<FRT_Supervisor>(_transport.get()))
{
@@ -417,7 +417,7 @@ StandaloneFRT::StandaloneFRT()
}
StandaloneFRT::StandaloneFRT(vespalib::CryptoEngine::SP crypto)
- : _threadPool(std::make_unique<FastOS_ThreadPool>(1024*60)),
+ : _threadPool(std::make_unique<FastOS_ThreadPool>(1024*128)),
_transport(std::make_unique<FNET_Transport>(std::move(crypto), 1)),
_supervisor(std::make_unique<FRT_Supervisor>(_transport.get()))
{