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

Add support for asynchronous worker startup #29

Merged
merged 2 commits into from
Jun 26, 2012

Conversation

mugami-ast
Copy link
Contributor

This adds a new option called assumeReady (default: true)
that controls whether up should automatically add the new worker
to the pool, or if it is up to the worker to asynchronous tell
up when it is ready for to handle new requests.

Signed-off-by: Asbjørn Sloth Tønnesen ast@veridu.com

@rauchg
Copy link
Contributor

rauchg commented May 24, 2012

Pretty hot. Needs a test for ultimate hawtness

@mugami-ast
Copy link
Contributor Author

I omitted the test because the existing tests were broken. I have rebased this branch onto pull request #30, so only the last 2 commits are unique for this pull request.

@mugami-ast
Copy link
Contributor Author

Rebased on to new 0.2.0 master, and still parsing all tests. Whats the hold up on merging this?

This adds a new option called assumeReady (default: true)
that controls whether up should automatically add the new worker
to the pool, or if it is up to the worker to asynchronous tell
up when it is ready for to handle new requests.

Signed-off-by: Asbjørn Sloth Tønnesen <ast@veridu.com>
Add 2 tests for testing the support for both synchronous
and asynchronous worker spawning.

Signed-off-by: Asbjørn Sloth Tønnesen <ast@veridu.com>
@mugami-ast
Copy link
Contributor Author

Rebased onto new 0.2.1 master

rauchg added a commit that referenced this pull request Jun 26, 2012
Add support for asynchronous worker startup
@rauchg rauchg merged commit bd45759 into LearnBoost:master Jun 26, 2012
@jamessharp
Copy link

Hi guys - is there any reason why this feature isn't in the npm package of up?

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