mirror of
https://github.com/ceph/ceph
synced 2025-02-19 08:57:27 +00:00
config_opts: add gc configurables
rgw_gc_max_objs: num of objects to used for gc shards rgw_gc_obj_min_wait: min time for an object to become visible to gc rgw_gc_processor_max_time: max time a for a single gc processor cycle rgw_gc_processor_period: period between processors start Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
This commit is contained in:
parent
7dd5d06d0d
commit
e4a78d2aae
@ -423,6 +423,10 @@ OPTION(rgw_intent_log_object_name, OPT_STR, "%Y-%m-%d-%i-%n") // man date to se
|
||||
OPTION(rgw_intent_log_object_name_utc, OPT_BOOL, false)
|
||||
OPTION(rgw_init_timeout, OPT_INT, 30) // time in seconds
|
||||
OPTION(rgw_mime_types_file, OPT_STR, "/etc/mime.types")
|
||||
OPTION(rgw_gc_max_objs, OPT_INT, 32)
|
||||
OPTION(rgw_gc_obj_min_wait, OPT_INT, 2 * 3600) // wait time before object may be handled by gc
|
||||
OPTION(rgw_gc_processor_max_time, OPT_INT, 3600) // total run time for a single gc processor work
|
||||
OPTION(rgw_gc_processor_period, OPT_INT, 3600) // gc processor cycle time
|
||||
|
||||
// This will be set to true when it is safe to start threads.
|
||||
// Once it is true, it will never change.
|
||||
|
Loading…
Reference in New Issue
Block a user