summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/exception_test.cpp
diff options
context:
space:
mode:
authorRajith Muditha Attapattu <rajith@apache.org>2009-08-24 16:02:08 +0000
committerRajith Muditha Attapattu <rajith@apache.org>2009-08-24 16:02:08 +0000
commit7e4677ba7dda719c70a133ddcf68ac0a0c1a1e48 (patch)
tree492554adc7fc5417d4b849978a7fa170f8fef2ca /qpid/cpp/src/tests/exception_test.cpp
parent77eabe05e21ce283b9dd749de2952f0115b394e2 (diff)
downloadqpid-python-7e4677ba7dda719c70a133ddcf68ac0a0c1a1e48.tar.gz
This is related to QPID-2074
I added a flag to disable flow control when max prefetch is zero. This will also prevent unnessacery suspend/resume actions (and hence extra threads being spawned) when the non meaningful thresholds (for the above case) are passed. I also think that adjusting the count and puting the message into the queue should be an atomic operation. This means notifying the listener will also need to be squeezed insde the same sync block. Another point to note is that this is redundent in the 0-10 codepath as we have protocol level flow control. Since a more complete overhaul is needed in this area, for the time being I have only done the bare minimum. I also added a timeout for all sync receives in the DurableSubscriptionTest. This will prevent the whole test suite from hanging if messages don't arrive as expected. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@807292 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/exception_test.cpp')
0 files changed, 0 insertions, 0 deletions