|
@@ -80,8 +80,8 @@ public:
|
|
|
CMasterActivity::init();
|
|
|
// In absense of OPT_OUTPUTLIMIT check pre 5.2 legacy name OPT_OUTPUTLIMIT_LEGACY
|
|
|
workunitWriteLimit = activityMaxSize ? activityMaxSize : getOptInt(OPT_OUTPUTLIMIT, getOptInt(OPT_OUTPUTLIMIT_LEGACY, defaultDaliResultLimit));
|
|
|
- if (workunitWriteLimit>defaultDaliResultOutputMax)
|
|
|
- throw MakeActivityException(this, 0, "Configured max result size, %d MB, exceeds absolute max limit of %d MB. A huge Dali result usually indicates the ECL needs altering.", workunitWriteLimit, defaultDaliResultOutputMax);
|
|
|
+ if (workunitWriteLimit>daliResultOutputMax)
|
|
|
+ throw MakeActivityException(this, 0, "Configured max result size, %d MB, exceeds absolute max limit of %d MB. A huge Dali result usually indicates the ECL needs altering.", workunitWriteLimit, daliResultOutputMax);
|
|
|
assertex(workunitWriteLimit<=0x1000); // 32bit limit because MemoryBuffer/CMessageBuffers involved etc.
|
|
|
workunitWriteLimit *= 0x100000;
|
|
|
}
|