kikocis/java-driver public
Changesets · Branches · Tags · Compare
| Changeset | 2c0ff9778e8c95cd02485a4d78f5ba3a308c35a8ee336067d7ac310c2b6c2b00 |
|---|---|
| Author | Andrew Tolbert <andrew.tolbert@datastax.com> · 2016-07-14 16:52 -05:00 |
| Committer | Olivier Michallat <olim7t@users.noreply.github.com> · 2016-07-14 14:52 -07:00 |
| Parents | 909018904d3c |
1 file changed
modified driver-tests/osgi/src/main/java/com/datastax/driver/osgi/impl/Activator.java +1 −1
| @@ -74,7 +74,7 @@ | ||
| 74 | 74 | |
| 75 | 75 | String usePercentileSpeculativeExecutionPolicy = context.getProperty("cassandra.usePercentileSpeculativeExecutionPolicy"); |
| 76 | 76 | if ("true".equals(usePercentileSpeculativeExecutionPolicy)) { |
| 77 | - PerHostPercentileTracker perHostPercentileTracker = PerHostPercentileTracker.builderWithHighestTrackableLatencyMillis(15000).build(); | |
| 77 | + PerHostPercentileTracker perHostPercentileTracker = PerHostPercentileTracker.builder(15000).build(); | |
| 78 | 78 | builder.withSpeculativeExecutionPolicy(new PercentileSpeculativeExecutionPolicy(perHostPercentileTracker, 99, 1)); |
| 79 | 79 | LOGGER.info("Use PercentileSpeculativeExecutionPolicy: YES"); |
| 80 | 80 | } else { |