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

Tidyups to help run Ruby example #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

robert
Copy link
Collaborator

@robert robert commented Aug 2, 2018

r? @richo

  • Add make example-client-ruby-build for building Ruby example
  • Make port that the server runs on configurable
  • Bump afl memory and timeout limits really high so that we can run slow slow Ruby targets

@@ -215,5 +219,7 @@ func main() {
reaper := newReaper(nodes, 1*time.Hour)
go reaper.run()

setupAndServe()
port := 1234
Copy link
Owner

Choose a reason for hiding this comment

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

Is this stray? Is there some weird scoping thing I don't understand?

Copy link
Collaborator Author

@robert robert Aug 6, 2018

Choose a reason for hiding this comment

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

I should have been clearer - I wanted to make it easier to change the server port, since 8000 (goji's default) is often already in use by other programs. One day this var will become a config or command line value.

Copy link
Owner

Choose a reason for hiding this comment

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

oh, I just meant I think this shadows the port argument to this function? but maybe I'm confused.

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

Successfully merging this pull request may close these issues.

3 participants