diff options
author | Henri Herscher <henri@oreka.org> | 2006-03-19 05:40:53 +0000 |
---|---|---|
committer | Henri Herscher <henri@oreka.org> | 2006-03-19 05:40:53 +0000 |
commit | 5298d5fadf5ba92a302a0aebd946c093dc54ba61 (patch) | |
tree | 5f48d576310af09d4209fa90c24c4c213a0bf53d /orkaudio/Config.cpp | |
parent | 0ecbeb5613451527fa088821a48b9a64b6c7d637 (diff) |
Default immediate processing queue size is now 10000. Default batch processing queue size is now 20000. Both values are now configurable.
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@198 09dcff7a-b715-0410-9601-b79a96267cd0
Diffstat (limited to 'orkaudio/Config.cpp')
-rw-r--r-- | orkaudio/Config.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/orkaudio/Config.cpp b/orkaudio/Config.cpp index 35c7b6f..4a9e295 100644 --- a/orkaudio/Config.cpp +++ b/orkaudio/Config.cpp @@ -38,6 +38,8 @@ Config::Config() m_trackerTcpPort = TRACKER_TCP_PORT_DEFAULT; m_trackerServicename = TRACKER_SERVICENAME_DEFAULT; m_audioOutputPath = AUDIO_OUTPUT_PATH_DEFAULT; + m_immediateProcessingQueueSize = IMMEDIATE_PROCESSING_QUEUE_SIZE_DEFAULT; + m_batchProcessingQueueSize = BATCH_PROCESSING_QUEUE_SIZE_DEFAULT; char hostname[40]; ACE_OS::hostname(hostname, 40); @@ -72,6 +74,8 @@ void Config::Define(Serializer* s) s->IntValue(REPORTING_RETRY_DELAY_PARAM, m_reportingRetryDelay); s->IntValue(CLIENT_TIMEOUT_PARAM, m_clientTimeout); s->StringValue(AUDIO_OUTPUT_PATH_PARAM, m_audioOutputPath); + s->IntValue(IMMEDIATE_PROCESSING_QUEUE_SIZE_PARAM, m_immediateProcessingQueueSize); + s->IntValue(BATCH_PROCESSING_QUEUE_SIZE_PARAM, m_batchProcessingQueueSize); } void Config::Validate() |