예제 #1
0
        public void Configure(ConfigParams config)
        {
            _logger.Configure(config);
            _connectionResolver.Configure(config);
            _storage.Configure(config);
            _streamingController.Configure(config);

            _minChunkSize      = config.GetAsLongWithDefault("options.min_chunk_size", _minChunkSize);
            _maxBlobSize       = config.GetAsLongWithDefault("options.max_blob_size", _maxBlobSize);
            _reducedRedundancy = config.GetAsBooleanWithDefault("options.reduced_redundancy", _reducedRedundancy);
            _connectTimeout    = config.GetAsIntegerWithDefault("options.connect_timeout", _connectTimeout);
            _maxTake           = config.GetAsLongWithDefault("options.max_take", _maxTake);
        }
        public override void Configure(ConfigParams config)
        {
            base.Configure(config);

            _streamingController.Configure(config);
        }