diff options
Diffstat (limited to 'src/rgw/rgw_main.h')
-rw-r--r-- | src/rgw/rgw_main.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/rgw/rgw_main.h b/src/rgw/rgw_main.h index 49846c5d595..9bdea60e286 100644 --- a/src/rgw/rgw_main.h +++ b/src/rgw/rgw_main.h @@ -18,6 +18,9 @@ #include <vector> #include <map> #include <string> + +#include "common/async/context_pool.h" + #include "rgw_common.h" #include "rgw_rest.h" #include "rgw_frontend.h" @@ -81,7 +84,8 @@ class AppMain { SiteConfig site; const DoutPrefixProvider* dpp; RGWProcessEnv env; - + ceph::async::io_context_pool context_pool{ + dpp->get_cct()->_conf->rgw_thread_pool_size}; public: AppMain(const DoutPrefixProvider* dpp); ~AppMain(); |