Correction of commit 2014
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@2019 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
@ -41,7 +41,7 @@
|
||||
#define CLIENT_RAND_BACKOFF_TEND @CLIENT_RAND_BACKOFF_TEND@
|
||||
#define CLIENT_RETRY_COUNT @CLIENT_RETRY_COUNT@
|
||||
#define CLIENT_JOB_REQUEST_SEC @CLIENT_JOB_REQUEST_SEC@
|
||||
#define CLIENT_JOB_LIMIT_SEC @CLIENT_JOB_LIMIT_SEC@
|
||||
#define CLIENT_JOB_LIMIT @CLIENT_JOB_LIMIT@
|
||||
#define PROJECT_VERSION "@PROJECT_VERSION@"
|
||||
#define FAIL_VERSION PROJECT_VERSION
|
||||
|
||||
|
||||
@ -179,8 +179,8 @@ bool JobClient::sendResult(ExperimentData& result)
|
||||
m_job_runtime.stopTimer();
|
||||
m_job_throughput = CLIENT_JOB_REQUEST_SEC/((double)m_job_runtime/m_results.size());
|
||||
|
||||
if (m_job_throughput > CLIENT_JOB_LIMIT_SEC) {
|
||||
m_job_throughput = CLIENT_JOB_LIMIT_SEC;
|
||||
if (m_job_throughput > CLIENT_JOB_LIMIT) {
|
||||
m_job_throughput = CLIENT_JOB_LIMIT;
|
||||
}
|
||||
|
||||
if (m_job_throughput < 1) {
|
||||
|
||||
Reference in New Issue
Block a user