]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: increase sync lock lease period
authorYehuda Sadeh <yehuda@redhat.com>
Mon, 14 Mar 2016 01:12:40 +0000 (18:12 -0700)
committerYehuda Sadeh <yehuda@redhat.com>
Mon, 14 Mar 2016 01:12:40 +0000 (18:12 -0700)
reducing traffic to the osd

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
src/common/config_opts.h

index 88933eab3d28bf3ce3b677684391c2d3cd84c559..0c684b4a54165a0b10b1c855c3da1fbfb74e9ba1 100644 (file)
@@ -1368,7 +1368,7 @@ OPTION(rgw_enable_static_website, OPT_BOOL, false) // enable static website feat
 OPTION(rgw_num_async_rados_threads, OPT_INT, 32) // num of threads to use for async rados operations
 OPTION(rgw_md_notify_interval_msec, OPT_INT, 200) // metadata changes notification interval to followers
 OPTION(rgw_run_sync_thread, OPT_BOOL, true) // whether radosgw (not radosgw-admin) spawns the sync thread
-OPTION(rgw_sync_lease_period, OPT_INT, 30) // time in second for lease that rgw takes on a specific log (or log shard)
+OPTION(rgw_sync_lease_period, OPT_INT, 120) // time in second for lease that rgw takes on a specific log (or log shard)
 
 OPTION(rgw_realm_reconfigure_delay, OPT_DOUBLE, 2) // seconds to wait before reloading realm configuration
 OPTION(rgw_period_push_interval, OPT_DOUBLE, 2) // seconds to wait before retrying "period push"