wingbot 3.69.2 → 3.69.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -10,7 +10,8 @@ const api = require('./api');
|
|
|
10
10
|
const customFn = require('../utils/customFn');
|
|
11
11
|
const customCondition = require('../utils/customCondition');
|
|
12
12
|
|
|
13
|
-
const DEFAULT_LIMIT =
|
|
13
|
+
const DEFAULT_LIMIT = 400;
|
|
14
|
+
const DEFAULT_SEND_LIMIT = 20;
|
|
14
15
|
const DAY = 86400000;
|
|
15
16
|
const WINDOW_24_HOURS = DAY; // 24 hours
|
|
16
17
|
const REMOVED_CAMPAIGN = '<removed campaign>';
|
|
@@ -152,7 +153,7 @@ class Notifications extends EventEmitter {
|
|
|
152
153
|
this.limit = DEFAULT_LIMIT;
|
|
153
154
|
|
|
154
155
|
/** @type {number} */
|
|
155
|
-
this.sendLimit =
|
|
156
|
+
this.sendLimit = DEFAULT_SEND_LIMIT;
|
|
156
157
|
|
|
157
158
|
this._default24Clearance = options.default24Clearance || DEFAULT_24_CLEARANCE;
|
|
158
159
|
this._allAudienceTag = typeof options.allAudienceTag !== 'undefined'
|