You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@storm.apache.org by bo...@apache.org on 2014/06/09 15:48:12 UTC

[07/32] git commit: STORM-297, use config name instead of literal constants

STORM-297, use config name instead of literal constants


Project: http://git-wip-us.apache.org/repos/asf/incubator-storm/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-storm/commit/138a7a7f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-storm/tree/138a7a7f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-storm/diff/138a7a7f

Branch: refs/heads/master
Commit: 138a7a7f0bc4aceb829915106673b969552cee85
Parents: deb55ec
Author: Sean Zhong <cl...@gmail.com>
Authored: Tue May 20 10:34:36 2014 +0800
Committer: Sean Zhong <cl...@gmail.com>
Committed: Tue May 20 10:34:36 2014 +0800

----------------------------------------------------------------------
 storm-core/src/jvm/backtype/storm/messaging/netty/Server.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-storm/blob/138a7a7f/storm-core/src/jvm/backtype/storm/messaging/netty/Server.java
----------------------------------------------------------------------
diff --git a/storm-core/src/jvm/backtype/storm/messaging/netty/Server.java b/storm-core/src/jvm/backtype/storm/messaging/netty/Server.java
index 48ca3fb..d551f02 100644
--- a/storm-core/src/jvm/backtype/storm/messaging/netty/Server.java
+++ b/storm-core/src/jvm/backtype/storm/messaging/netty/Server.java
@@ -68,7 +68,7 @@ class Server implements IConnection {
         this.storm_conf = storm_conf;
         this.port = port;
         
-        queueCount = Utils.getInt(storm_conf.get("worker.receiver.thread.count"), 1);
+        queueCount = Utils.getInt(storm_conf.get(Config.WORKER_RECEIVER_THREAD_COUNT), 1);
         roundRobinQueueId = 0;
         taskToQueueId = new HashMap<Integer, Integer>();