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 | e9164ae2ba1fc75b997be560154e31c6a9095661 (patch) | |
| tree | 6c61e35357fa2df088a9dc58b7a5d8b6e92fd7a1 /qpid/cpp | |
| parent | 6708070bc2cb5a215d34845ac14f94635b14a9f8 (diff) | |
| download | qpid-python-e9164ae2ba1fc75b997be560154e31c6a9095661.tar.gz | |
Re-issue 736381 with a literal.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@736394 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp')
| -rw-r--r-- | qpid/cpp/src/qpid/broker/ConnectionState.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/qpid/cpp/src/qpid/broker/ConnectionState.h b/qpid/cpp/src/qpid/broker/ConnectionState.h index e4dd8f06ec..09a92dfd4f 100644 --- a/qpid/cpp/src/qpid/broker/ConnectionState.h +++ b/qpid/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; } |
