From 43575c7ac78d3e002d6d8c35257651968ec3d580 Mon Sep 17 00:00:00 2001 From: Yehuda Sadeh Date: Tue, 19 Jul 2011 14:02:11 -0700 Subject: rgw: fix concurrency issue --- src/rgw/rgw_env.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/rgw/rgw_env.cc') diff --git a/src/rgw/rgw_env.cc b/src/rgw/rgw_env.cc index 8728277a111..3bbce256583 100644 --- a/src/rgw/rgw_env.cc +++ b/src/rgw/rgw_env.cc @@ -4,8 +4,6 @@ #include #include -RGWEnv rgw_env; - RGWEnv::RGWEnv() { conf = new RGWConf; @@ -16,7 +14,7 @@ RGWEnv::~RGWEnv() delete conf; } -void RGWEnv::reinit(char **envp) +void RGWEnv::init(char **envp) { const char *p; @@ -76,7 +74,6 @@ size_t RGWEnv::get_size(const char *name, size_t def_val) void RGWConf::init(RGWEnv *env) { - max_cache_lru = env->get_size("RGW_MAX_CACHE_LRU", 10000); log_level = env->get_int("RGW_LOG_LEVEL", g_conf->rgw_log); should_log = env->get_bool("RGW_SHOULD_LOG", RGW_SHOULD_LOG_DEFAULT); } -- cgit v1.2.3