diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2007-01-23 12:37:54 +0000 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2007-01-23 12:37:54 +0000 |
commit | 8404007f40c7e8ccd78aa41cde09851ce629ede9 (patch) | |
tree | 2de0f3e8c1631ed9c82ace2add31d6991ce23f18 /cpp/src | |
parent | *** empty log message *** (diff) | |
download | ice-8404007f40c7e8ccd78aa41cde09851ce629ede9.tar.bz2 ice-8404007f40c7e8ccd78aa41cde09851ce629ede9.tar.xz ice-8404007f40c7e8ccd78aa41cde09851ce629ede9.zip |
Made batch auto-flush default
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/Ice/ConnectionI.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/Ice/ConnectionI.cpp b/cpp/src/Ice/ConnectionI.cpp index 4fa3c4fe8bd..13d107d238e 100644 --- a/cpp/src/Ice/ConnectionI.cpp +++ b/cpp/src/Ice/ConnectionI.cpp @@ -1589,7 +1589,8 @@ Ice::ConnectionI::ConnectionI(const InstancePtr& instance, _nextRequestId(1), _requestsHint(_requests.end()), _asyncRequestsHint(_asyncRequests.end()), - _batchAutoFlush(_instance->initializationData().properties->getPropertyAsInt("Ice.BatchAutoFlush") > 0), + _batchAutoFlush( + _instance->initializationData().properties->getPropertyAsIntWithDefault("Ice.BatchAutoFlush", 1) > 0), _batchStream(_instance.get(), _batchAutoFlush), _batchStreamInUse(false), _batchRequestNum(0), |