]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: raise default rgw_curl_low_speed_time to 300 seconds 24046/head
authorCasey Bodley <cbodley@redhat.com>
Mon, 27 Aug 2018 18:45:35 +0000 (14:45 -0400)
committerPrashant D <pdhange@redhat.com>
Wed, 12 Sep 2018 00:36:46 +0000 (20:36 -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 1ed027c9bebd6938ef37b37eeb1f758bdcc50d00..0737b5a9aa6103924a9169d6711f47ba36c5daca 100644 (file)
@@ -5208,7 +5208,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. "