From c449c25d5709e23628634829ed18a76895845811 Mon Sep 17 00:00:00 2001 From: Roman Mandeleil Date: Tue, 20 Jan 2015 17:30:47 +0200 Subject: [PATCH] Get REDISCLOUD_URL from the getEnv --- .../src/main/java/org/ethereum/datasource/RedisPool.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ethereumj-core/src/main/java/org/ethereum/datasource/RedisPool.java b/ethereumj-core/src/main/java/org/ethereum/datasource/RedisPool.java index 7d4e2058..7be74c79 100644 --- a/ethereumj-core/src/main/java/org/ethereum/datasource/RedisPool.java +++ b/ethereumj-core/src/main/java/org/ethereum/datasource/RedisPool.java @@ -25,7 +25,7 @@ public class RedisPool { try { if (System.getProperty("REDISCLOUD_URL") != null){ - URI redisUri = new URI(System.getProperty("REDISCLOUD_URL")); + URI redisUri = new URI(System.getenv("REDISCLOUD_URL")); logger.info("Init redis pool: " + redisUri.toString()); pool = new JedisPool(new JedisPoolConfig(), redisUri.getHost(),