-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Adds ability to run livequery server on different port (appengine) #2892
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
| @@ -199,7 +199,7 @@ export default { | |||
| help: "Run with cluster, optionally set the number of processes default to os.cpus().length", | |||
| action: numberOrBoolParser("cluster") | |||
| }, | |||
| "liveQuery.classNames": { | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why was it classNames? did that even work?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nope that didn't :/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it was a duplicate of the next one, that would let you pass --liveQuery.classNames options easily
| ParseServer.createLiveQueryServer(server, options.liveQueryServerOptions); | ||
| let liveQueryServer = server; | ||
| if (options.liveQueryPort) { | ||
| liveQueryServer = express().listen(options.liveQueryPort, function() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fat arrow?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yep fat arrow :)
| let liveQueryServer = server; | ||
| if (options.liveQueryPort) { | ||
| liveQueryServer = express().listen(options.liveQueryPort, function() { | ||
| console.log('ParseLiveQuery listening on '+options.liveQueryPort); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i prefer spaces around operators. ymmv
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yep i'll change that.
|
@acinader still looking good? |
|
@flovilmart updated the pull request - view changes |
AppEngine should run the live query server on a different port, this let just do that from the CLI