fn config_with_metric_registry_and_store(
        object_store: ObjectStore,
    ) -> (metrics::TestMetricRegistry, ServerConfig) {
        let registry = Arc::new(metrics::MetricRegistry::new());
        let test_registry = metrics::TestMetricRegistry::new(Arc::clone(&registry));
        (
            test_registry,
            ServerConfig::new(Arc::new(object_store), registry, None).with_num_worker_threads(1),
        )
    }
// TODO: perhaps switch to a builder pattern.
perhaps switch to a builder pattern.
perhaps switch to a builder pattern .
fn config_with_metric_registry_and_store(
        object_store: ObjectStore,
    ) -> (metrics::TestMetricRegistry, ServerConfig) {
        let registry = Arc::new(metrics::MetricRegistry::new());
        let test_registry = metrics::TestMetricRegistry::new(Arc::clone(&registry));
        (
            test_registry,
            ServerConfig::new(Arc::new(object_store), registry, None).with_num_worker_threads(1),
        )
    }
fn config_with_metric_registry_and_store ( object_store : ObjectStore , ) -> ( metrics :: TestMetricRegistry , ServerConfig ) { let registry = Arc :: new ( metrics :: MetricRegistry :: new ( ) ) ; let test_registry = metrics :: TestMetricRegistry :: new ( Arc :: clone ( & registry ) ) ; ( test_registry , ServerConfig :: new ( Arc :: new ( object_store ) , registry , None ) . with_num_worker_threads ( 1 ) , ) }
TODO: perhaps switch to a builder pattern.
TODO : perhaps switch to a builder pattern .
object_store
ObjectStore
object_store
ObjectStore