diff options
author | Ted Ross <tross@apache.org> | 2009-01-21 19:57:56 +0000 |
---|---|---|
committer | Ted Ross <tross@apache.org> | 2009-01-21 19:57:56 +0000 |
commit | 858927cfde5d4a2c277fd0e81abd723d01caa1dd (patch) | |
tree | 09bae4f2c8154eee32184204b1401d4b138aaf7a /cpp/src/qpid/broker/ConnectionState.h | |
parent | 709278e90c41df4b60c5f6ba444caec6a2dbf876 (diff) | |
download | qpid-python-858927cfde5d4a2c277fd0e81abd723d01caa1dd.tar.gz |
Re-issue 736381 with a literal.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@736394 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/ConnectionState.h')
-rw-r--r-- | cpp/src/qpid/broker/ConnectionState.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/cpp/src/qpid/broker/ConnectionState.h b/cpp/src/qpid/broker/ConnectionState.h index e4dd8f06ec..09a92dfd4f 100644 --- a/cpp/src/qpid/broker/ConnectionState.h +++ b/cpp/src/qpid/broker/ConnectionState.h @@ -52,15 +52,12 @@ class ConnectionState : public ConnectionToken, public management::Manageable 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; } |