Multiple heels #9

Closed
ibroadfo opened this Issue Jun 18, 2013 · 4 comments

Projects

None yet

3 participants

@ibroadfo

Is there a concrete reason why only one heel process is allowed at a time? If I specify an alternate port for each new instance, shouldn't that be enough?

@copiousfreetime
Owner

You are correct, there is no technical reason you couldn't have more than one heel process running. I'll make this a feature request.

A quick fix would be to have the pid file have the port number in it. I can probably work on that in the next week or so. Or if you like, feel free to submit a pull request. See https://github.com/copiousfreetime/heel/blob/master/lib/heel/server.rb#L73-L75

@jessmartin

👍 This would be awesome.

@copiousfreetime copiousfreetime added a commit that closed this issue Jul 7, 2013
@copiousfreetime Allow for multiple heels running on different ports
Remove the assumption that a person would only run one instance of heel
at a time. Now each instance of heel running stores its pid in a file
that has the port number in the filename.

This allows for multiple heels to run simultanesouly on different ports.

Closes #9
64d7a2b
@ibroadfo

Cheers dude, this is a huge help. I had planned to have a go at implementing it myself but didn't have time this month. :highfive:

@copiousfreetime
Owner

@ibroadfo Glad to be of service. Feel free to throw out other ideas you have too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment