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

Display a message with the number of detected workers #107

Closed
wants to merge 1 commit into from
Closed

Display a message with the number of detected workers #107

wants to merge 1 commit into from

Conversation

gibachan
Copy link

As described in #103, This PR adds a message the number of workers before processing them.

You can see the message like below.

% cargo build
% cd examples/
% ../target/debug/wws .
⚙️  8 files are identified as workers. Start processing them
⚙️  Loading routes from: .
🗺  Detected routes:
    - http://127.0.0.1:8080/js-redirect/handler
      => ./js-redirect/handler.js (name: default)
    - http://127.0.0.1:8080/js-json/handler
      => ./js-json/handler.js (name: test)
    - http://127.0.0.1:8080/js-basic
      => ./js-basic/index.js (name: default)
    - http://127.0.0.1:8080/js-tictactoe/handler
      => ./js-tictactoe/handler.js (name: tictactoe)
    - http://127.0.0.1:8080/js-params/[id]
      => ./js-params/[id].js (name: default)
    - http://127.0.0.1:8080/js-params/fixed
      => ./js-params/fixed.js (name: default)
    - http://127.0.0.1:8080/js-params/sub/[id]
      => ./js-params/sub/[id].js (name: default)
    - http://127.0.0.1:8080/js-params/[id]/fixed
      => ./js-params/[id]/fixed.js (name: default)
🚀 Start serving requests at http://127.0.0.1:8080

resolve #103

@vmwclabot
Copy link

@gibachan, you must sign our contributor license agreement before your changes are merged. Click here to sign the agreement. If you are a VMware employee, read this for further instruction.

@vmwclabot
Copy link

@gibachan, we have received your signed contributor license agreement. The review is usually completed within a week, but may take longer under certain circumstances. Another comment will be added to the pull request to notify you when the merge can proceed.

@vmwclabot
Copy link

@gibachan, VMware has rejected your signed contributor license agreement. The merge can not proceed until the agreement has been resigned. Click here to resign the agreement. Reject reason:

Please provide the name of the organization you are affiliated with or indicate none.
Please provide a telephone number and full address.

@gibachan gibachan closed this Mar 13, 2023
@gibachan gibachan deleted the 103-display-number-of-detected-workers branch March 13, 2023 11:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Display a message with the number of detected workers before processing them
2 participants