You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by tr...@apache.org on 2009/01/21 20:57:56 UTC

svn commit: r736394 - /qpid/trunk/qpid/cpp/src/qpid/broker/ConnectionState.h

Author: tross
Date: Wed Jan 21 11:57:56 2009
New Revision: 736394

URL: http://svn.apache.org/viewvc?rev=736394&view=rev
Log:
Re-issue 736381 with a literal.

Modified:
    qpid/trunk/qpid/cpp/src/qpid/broker/ConnectionState.h

Modified: qpid/trunk/qpid/cpp/src/qpid/broker/ConnectionState.h
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/broker/ConnectionState.h?rev=736394&r1=736393&r2=736394&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/broker/ConnectionState.h (original)
+++ qpid/trunk/qpid/cpp/src/qpid/broker/ConnectionState.h Wed Jan 21 11:57:56 2009
@@ -52,15 +52,12 @@
 
     virtual ~ConnectionState () {}
 
-    // Minimum allowed frameMax
-    static const uint32_t MIN_FRAME_MAX = 4096;
-
     uint32_t getFrameMax() const { return framemax; }
     uint16_t getHeartbeat() const { return heartbeat; }
     uint16_t getHeartbeatMax() const { return heartbeatmax; }
     uint64_t getStagingThreshold() const { return stagingThreshold; }
 
-    void setFrameMax(uint32_t fm) { framemax = std::max(fm, MIN_FRAME_MAX); }
+    void setFrameMax(uint32_t fm) { framemax = std::max(fm, (uint32_t) 4096); }
     void setHeartbeat(uint16_t hb) { heartbeat = hb; }
     void setHeartbeatMax(uint16_t hbm) { heartbeatmax = hbm; }
     void setStagingThreshold(uint64_t st) { stagingThreshold = st; }



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org