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

[need to review] Add translation of cluster.markdown #25

Open
wants to merge 5 commits into
base: japanese
Choose a base branch
from
Open

[need to review] Add translation of cluster.markdown #25

wants to merge 5 commits into from

Conversation

kysnm
Copy link

@kysnm kysnm commented Mar 1, 2015

Fix #7

@kysnm kysnm changed the title Add translation of cluster.markdown [need to review] Add translation of cluster.markdown Mar 1, 2015
Emitted every time `.setupMaster()` is called.
-->

`setupMaster()` は呼ばれた時に毎回生成されます。
Copy link
Author

Choose a reason for hiding this comment

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

以下の部分が
nodejs@04d6fc2
により変更されています。
ここの翻訳あまり自信ありません。

* ワーカの属性は `.setupMaster()` 経由で設定できず、`.fork()`に渡すことのできる
`env` *だけ* で設定できます。
* 上記のデフォルトは最初の呼び出しだけ適用され、以降の呼び出しのデフォルト
は `cluster.setupMaster()` が呼ばれた時の値です
Copy link
Author

Choose a reason for hiding this comment

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

ここも以下の変更箇所
iojs@04d6fc2


* すべての設定変更は将来の `.fork()` の呼び出し時にのみ影響を与え、すでに
実行されているワーカには影響を与えません
* ワーカの属性は `.setupMaster()` 経由で設定できず、`.fork()`に渡すことのできる
Copy link

Choose a reason for hiding this comment

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

ワーカの属性は .setupMaster() 経由で設定できず、.fork()に渡すことのできる env だけ で設定できます。

ここは

The only attribute of a worker that cannot be set via .setupMaster()

なので

.fork() に渡される env 属性に関してのみ、 .setupMaster() を通じて設定することができません。

という感じかなと思いました

Copy link
Author

Choose a reason for hiding this comment

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

ご指摘ありがとうございます

.setupMaster() から設定できない 唯一の ワーカの属性は
.fork()に渡される env です。

としてみましたがいかがでしょうか?

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.

cluster.markdownの翻訳
3 participants