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

[RPC] Set custom port with flags #2429

Merged
merged 4 commits into from Oct 22, 2019

Conversation

laggron42
Copy link
Contributor

Type

  • Bugfix
  • Enhancement
  • New feature

Description of the changes

As mentioned in #2423, having multiple instances with an RPC server will cause issues, due to multiple programs using the same port. This is a small addition that prevents the issue by adding a --rpc-port flag to redbot, allowing to set his own port. If not specified, it is still default to 6133.

The best fix to the RPC issue would be to have only one running server for all instances, but that would require a lot of changes to make the instances communicate between them and I don't feel like I can do such changes.

@Tobotimus Tobotimus added the Type: Enhancement Something meant to enhance existing Red features. label Feb 19, 2019
@Tobotimus Tobotimus self-assigned this Feb 19, 2019
@Tobotimus Tobotimus requested review from Tobotimus and removed request for tekulvw and Twentysix26 February 19, 2019 21:30
@Tobotimus Tobotimus removed the V3 label Jun 29, 2019
@mikeshardmind mikeshardmind added this to the 3.2.0 milestone Jul 9, 2019
Copy link
Contributor

@mikeshardmind mikeshardmind left a comment

Choose a reason for hiding this comment

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

This needs a changelog entry. Beyond that, the only other potential place for concern is an unpriveleged user attempting to use a low port number, but that's an end user responsibility at that point with non-standard settings

@mikeshardmind mikeshardmind added the Changelog Entry: Pending Changelog entry for this PR hasn't been added by repo maintainers yet. label Oct 2, 2019
@Kowlin Kowlin removed the Changelog Entry: Pending Changelog entry for this PR hasn't been added by repo maintainers yet. label Oct 6, 2019
@mikeshardmind mikeshardmind dismissed their stale review October 19, 2019 20:10

Only the changelog part was meant as blocking, which is handled

@mikeshardmind mikeshardmind merged commit ee29387 into Cog-Creators:V3/develop Oct 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Something meant to enhance existing Red features.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants