How to disable quota checking?

Lakjin

Active Member
I have the following in apps/common/config/performance-levels-custom.php:

Code:
if (!defined('MW_PERF_LVL')) {
    define('MW_PERF_LVL', MW_PERF_LVL_DISABLE_CUSTOMER_QUOTA_CHECK | MW_PERF_LVL_DISABLE_DS_QUOTA_CHECK | MW_PERF_LVL_DISABLE_DS_CAN_SEND_TO_DOMAIN_OF_CHECK);
}

However, --verbose on the send-campaigns command shows:

[2016-10-26 07:12:20] - xxx@gmail.com - 417/500
[2016-10-26 07:12:20] - Checking if we can send to domain ofxxx@gmail.com...
[2016-10-26 07:12:20] - Checking if xxx@gmail.com is blacklisted...
[2016-10-26 07:12:20] - Checking if the server is over quota...
[2016-10-26 07:12:20] - Checking if the customer is over quota...

Why are the settings not being applied?
 

twisted1919

Administrator
Staff member
[2016-10-26 07:12:20] - Checking if the server is over quota...
[2016-10-26 07:12:20] - Checking if the customer is over quota...
These messages are echoed before the actual function call is made. inside the function call, if if you have set those flags, then the function will return immediatly.
Shortly said, if you have set the flags, it's disabled.
 

Lakjin

Active Member
These messages are echoed before the actual function call is made. inside the function call, if if you have set those flags, then the function will return immediatly.
Shortly said, if you have set the flags, it's disabled.
Ah, okay. Thanks.
 
Top