MCPcopy Index your code
hub / github.com/parse-community/parse-server / constructor

Method constructor

src/Push/PushQueue.js:16–20  ·  view source on GitHub ↗
(config: any = {})

Source from the content-addressed store, hash-verified

14 // config object of the publisher, right now it only contains the redisURL,
15 // but we may extend it later.
16 constructor(config: any = {}) {
17 this.channel = config.channel || PushQueue.defaultPushChannel();
18 this.batchSize = config.batchSize || DEFAULT_BATCH_SIZE;
19 this.parsePublisher = ParseMessageQueue.createPublisher(config);
20 }
21
22 static defaultPushChannel() {
23 return `${Parse.applicationId}-${PUSH_CHANNEL}`;

Callers

nothing calls this directly

Calls 2

defaultPushChannelMethod · 0.80
createPublisherMethod · 0.80

Tested by

no test coverage detected