]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
rgw: fix notify timeout for BucketTrimWatcher
authorCasey Bodley <cbodley@redhat.com>
Tue, 24 Oct 2017 20:54:59 +0000 (16:54 -0400)
committerCasey Bodley <cbodley@redhat.com>
Fri, 10 Nov 2017 18:23:03 +0000 (13:23 -0500)
from seconds to msec

Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/rgw_sync_log_trim.cc

index 30330c4a187b9bd3f83c688a833228441920a1d9..418441996f2b47fe6f878416a741cac7bae1f618 100644 (file)
@@ -983,7 +983,7 @@ void configure_bucket_trim(CephContext *cct, BucketTrimConfig& config)
       conf->get_val<int64_t>("rgw_sync_log_trim_min_cold_buckets");
   config.concurrent_buckets =
       conf->get_val<int64_t>("rgw_sync_log_trim_concurrent_buckets");
-  config.notify_timeout_ms = 10;
+  config.notify_timeout_ms = 10000;
   config.recent_size = 128;
   config.recent_duration = std::chrono::hours(2);
 }