make memcached host configurable for benchmarking

This commit is contained in:
xvrl 2012-12-13 12:15:30 -08:00
parent e34944b1c5
commit 2118252ef2
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ public class MemcachedCacheBrokerBenchmark extends SimpleBenchmark
.setTranscoder(transcoder) .setTranscoder(transcoder)
.setShouldOptimize(true) .setShouldOptimize(true)
.build(), .build(),
AddrUtil.getAddresses("localhost:11211") AddrUtil.getAddresses(System.getProperty("druid.bard.cache.hosts", "localhost:11211"))
); );
broker = new MemcachedCacheBroker( broker = new MemcachedCacheBroker(