fix thread name
This commit is contained in:
parent
c7e73e4558
commit
24d5a758f0
|
@ -59,7 +59,7 @@ public class FsGateway extends BlobStoreGateway {
|
||||||
}
|
}
|
||||||
|
|
||||||
int concurrentStreams = componentSettings.getAsInt("concurrent_streams", 5);
|
int concurrentStreams = componentSettings.getAsInt("concurrent_streams", 5);
|
||||||
this.concurrentStreamPool = DynamicExecutors.newScalingThreadPool(1, concurrentStreams, TimeValue.timeValueSeconds(5).millis(), EsExecutors.daemonThreadFactory(settings, "[s3_stream]"));
|
this.concurrentStreamPool = DynamicExecutors.newScalingThreadPool(1, concurrentStreams, TimeValue.timeValueSeconds(5).millis(), EsExecutors.daemonThreadFactory(settings, "[fs_stream]"));
|
||||||
|
|
||||||
initialize(new FsBlobStore(componentSettings, concurrentStreamPool, gatewayFile), clusterName, null);
|
initialize(new FsBlobStore(componentSettings, concurrentStreamPool, gatewayFile), clusterName, null);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue