Update to elasticsearch 0.90.4
Breaking changes in to EsExecutors was introduced in elasticsearch 0.90.4 Closes #35.
This commit is contained in:
parent
1a7d263f65
commit
7e2ee43fdf
|
@ -15,7 +15,7 @@ In order to install the plugin, simply run: `bin/plugin -install elasticsearch/e
|
|||
<tbody>
|
||||
<tr>
|
||||
<td>1.15.0-SNAPSHOT (master)</td>
|
||||
<td>0.90.3 -> master</td>
|
||||
<td>0.90.4 -> master</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>1.14.0</td>
|
||||
|
|
2
pom.xml
2
pom.xml
|
@ -31,7 +31,7 @@
|
|||
</parent>
|
||||
|
||||
<properties>
|
||||
<elasticsearch.version>0.90.3</elasticsearch.version>
|
||||
<elasticsearch.version>0.90.4</elasticsearch.version>
|
||||
</properties>
|
||||
|
||||
<repositories>
|
||||
|
|
|
@ -90,7 +90,7 @@ public class S3Gateway extends BlobStoreGateway {
|
|||
ByteSizeValue chunkSize = componentSettings.getAsBytesSize("chunk_size", new ByteSizeValue(100, ByteSizeUnit.MB));
|
||||
|
||||
int concurrentStreams = componentSettings.getAsInt("concurrent_streams", 5);
|
||||
this.concurrentStreamPool = EsExecutors.newScalingExecutorService(1, concurrentStreams, 5, TimeUnit.SECONDS, EsExecutors.daemonThreadFactory(settings, "[s3_stream]"));
|
||||
this.concurrentStreamPool = EsExecutors.newScaling(1, concurrentStreams, 5, TimeUnit.SECONDS, EsExecutors.daemonThreadFactory(settings, "[s3_stream]"));
|
||||
|
||||
logger.debug("using bucket [{}], region [{}], chunk_size [{}], concurrent_streams [{}]", bucket, region, chunkSize, concurrentStreams);
|
||||
|
||||
|
|
Loading…
Reference in New Issue