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:
Njal Karevoll 2013-09-16 23:52:38 +02:00 committed by David Pilato
parent 1a7d263f65
commit 7e2ee43fdf
3 changed files with 3 additions and 3 deletions

View File

@ -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>

View File

@ -31,7 +31,7 @@
</parent>
<properties>
<elasticsearch.version>0.90.3</elasticsearch.version>
<elasticsearch.version>0.90.4</elasticsearch.version>
</properties>
<repositories>

View File

@ -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);