mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-23 22:11:09 +03:00
Changed BATCH_SIZE to static class field
refs fd6f48d6b2
- this is cleaner and would have avoided the issue fixed in the
referenced commit
This commit is contained in:
parent
fd6f48d6b2
commit
3d80fd982c
@ -6,6 +6,8 @@ module.exports = class MailgunClient {
|
||||
#config;
|
||||
#settings;
|
||||
|
||||
static BATCH_SIZE = 1000;
|
||||
|
||||
constructor({config, settings}) {
|
||||
this.#config = config;
|
||||
this.#settings = settings;
|
||||
@ -206,5 +208,3 @@ module.exports = class MailgunClient {
|
||||
return !!instance;
|
||||
}
|
||||
};
|
||||
|
||||
module.exports.BATCH_SIZE = 1000;
|
||||
|
Loading…
Reference in New Issue
Block a user