aboutsummaryrefslogtreecommitdiffstats
path: root/storageframework
diff options
context:
space:
mode:
authorArne Juul <arnej@verizonmedia.com>2021-02-15 13:55:18 +0000
committerArne Juul <arnej@verizonmedia.com>2021-02-15 14:16:22 +0000
commit5c163650a15ac1bc39657a28bbdc9dd57051cc62 (patch)
tree446e56d2aed0edf615d38ad0d671643f2fae3bb1 /storageframework
parentaf9d59c3fece374c5fe61575c67ad49ac5f84bb4 (diff)
use size literals in storage
Diffstat (limited to 'storageframework')
-rw-r--r--storageframework/src/vespa/storageframework/defaultimplementation/thread/threadpoolimpl.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/storageframework/src/vespa/storageframework/defaultimplementation/thread/threadpoolimpl.cpp b/storageframework/src/vespa/storageframework/defaultimplementation/thread/threadpoolimpl.cpp
index 8563881dbc8..e9466c4c3de 100644
--- a/storageframework/src/vespa/storageframework/defaultimplementation/thread/threadpoolimpl.cpp
+++ b/storageframework/src/vespa/storageframework/defaultimplementation/thread/threadpoolimpl.cpp
@@ -3,6 +3,7 @@
#include "threadpoolimpl.h"
#include "threadimpl.h"
#include <vespa/vespalib/util/exceptions.h>
+#include <vespa/vespalib/util/size_literals.h>
#include <thread>
#include <vespa/log/log.h>
LOG_SETUP(".storageframework.thread_pool_impl");
@@ -13,7 +14,7 @@ using vespalib::IllegalStateException;
namespace storage::framework::defaultimplementation {
ThreadPoolImpl::ThreadPoolImpl(Clock& clock)
- : _backendThreadPool(512 * 1024),
+ : _backendThreadPool(512_Ki),
_clock(clock),
_stopping(false)
{ }