]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: raise default rgw_curl_low_speed_time to 300 seconds 24071/head
authorCasey Bodley <cbodley@redhat.com>
Mon, 27 Aug 2018 18:45:35 +0000 (14:45 -0400)
committerPrashant D <pdhange@redhat.com>
Thu, 13 Sep 2018 02:09:08 +0000 (22:09 -0400)
this timeout is mainly to avoid waiting forever when a sync connection
goes away without seeing a close. a 30-second timeout is much more
likely to catch other delays like loaded osds - and timeout/retry will
increase that load

Fixes: http://tracker.ceph.com/issues/27989
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 2fe357657158f6454865b9c37314fa8cfdfc4771)

src/common/options.cc

index 878f84b71f51a0ce541abc6ee2cf319c0058f569..b81ad60a331f122f64297102599090d9e00a06ae 100644 (file)
@@ -5741,7 +5741,7 @@ std::vector<Option> get_rgw_options() {
         "to consider it to be too slow and abort. Set it zero to disable this."),
 
     Option("rgw_curl_low_speed_time", Option::TYPE_INT, Option::LEVEL_ADVANCED)
-    .set_default(30)
+    .set_default(300)
     .set_long_description(
         "It contains the time in number seconds that the transfer speed should be below "
         "the rgw_curl_low_speed_limit for the library to consider it too slow and abort. "