Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

fix hardcoded port in MultiBrowser LiveDevelopment and minor fix in PerfUtil #11957

Closed
wants to merge 5 commits into from

Conversation

kolipka
Copy link

@kolipka kolipka commented Nov 25, 2015

If performance data gathering is disabled, markStart will return undefined instead of id. Calls like updateMeasurement and finalizeMeasurement will fail on id.id.

@kolipka kolipka closed this Nov 26, 2015
@kolipka kolipka reopened this Nov 26, 2015
@kolipka
Copy link
Author

kolipka commented Nov 26, 2015

Travis says:
Running "cla-check-pull" task
Unexpected response from api.github.com
statusCode: 403
API rate limit exceeded for 52.0.240.122. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.

This cause LiveDev fail if port is already taken.
Now it can be changed via configuration.
@kolipka kolipka changed the title PerfUtil fix errors when gathering is disabled fix hardcoded port in MultiBrowser LiveDevelopment and minor fix in PerfUtil Nov 26, 2015
@abose
Copy link
Contributor

abose commented Nov 26, 2015

We have a limit on the number of Travis builds that can go through before exceeding the Github API rate limit. It seems that dev activity was high during the time, and the rate limit exceeded. We usually retrigger the build after some time. So no worries in the case.

@@ -58,7 +58,7 @@
var _clients = {};

// This must match the port declared in NodeSocketTransport.js.
// TODO: randomize this?
// Default socket port number
var SOCKET_PORT = 8123;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since there is a pref for the socket port, this should be read from the prefs too.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you sure? This is part of NodeDomain, can I read prefs there? Anyway: starting server sends port number, this here will be overwritten.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants