Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse Push - MaxListenersExceededWarning #4034

Closed
acudworth opened this issue Jul 21, 2017 · 1 comment
Closed

Parse Push - MaxListenersExceededWarning #4034

acudworth opened this issue Jul 21, 2017 · 1 comment

Comments

@acudworth
Copy link

Issue Description

When sending push notifications from Parse server using the code below, I get node console error messages sent every 10 mins (see below). The push notification sends correctly.

Steps to reproduce

Send a Parse push via cloud code, e.g.:

        var pushQuery = new Parse.Query(Parse.Installation);
	pushQuery.equalTo("appIdentifier", "some.app.id");

	return Parse.Push.send({
	  where: pushQuery,
	  data: { 
	  	alert: 'test',
    	        badge: 1,
    	        sound: 'default'
	  }
	}, { useMasterKey: true });

Expected Results

No problem

Actual Outcome

Get

(node:15) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 wakeup listeners added. Use emitter.setMaxListeners() to increase limit

Environment Setup

  • Server
    • parse-server version: latest master (2.5.3)
    • Operating System: Docker
    • Node version: 7.10.1
@stale
Copy link

stale bot commented Sep 18, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Sep 18, 2018
@stale stale bot closed this as completed Sep 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant