Issue #378 Can't configure per nodes settings in start.ini
Updated gcloud-session to look for GAE environment variable for the node ID
This commit is contained in:
parent
7e7b126847
commit
9c5a8d3f28
|
@ -26,7 +26,7 @@
|
|||
<Arg>
|
||||
<Ref id="Server"/>
|
||||
</Arg>
|
||||
<Set name="workerName"><Property name="jetty.gcloudSession.workerName" default="node1"/></Set>
|
||||
<Set name="workerName"><Property name="jetty.gcloudSession.workerName"><Default>node<Env name="GAE_MODULE_INSTANCE" default="0"/></Default></Property></Set>
|
||||
<Set name="config"><Ref id="gconf"/></Set>
|
||||
</New>
|
||||
</Set>
|
||||
|
|
|
@ -53,7 +53,8 @@ https://github.com/GoogleCloudPlatform/gcloud-java
|
|||
http://www.apache.org/licenses/LICENSE-2.0.html
|
||||
|
||||
[ini-template]
|
||||
## Unique identifier for this node in the cluster
|
||||
## Unique identifier to force the workername for this node in the cluster
|
||||
## If not set, will default to the string "node" plus the Env variable $GAE_MODULE_INSTANCE
|
||||
# jetty.gcloudSession.workerName=node1
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue