-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from idealista/develop
Develop
- Loading branch information
Showing
4 changed files
with
67 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<?xml version="1.0"?> | ||
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure_9_0.dtd"> | ||
|
||
<!-- ============================================================= --> | ||
<!-- Configure the Jetty Server instance with an ID "Server" --> | ||
<!-- by adding a HTTP connector. --> | ||
<!-- This configuration must be used in conjunction with jetty.xml --> | ||
<!-- ============================================================= --> | ||
<Configure id="Server" class="org.eclipse.jetty.server.Server"> | ||
|
||
<!-- =========================================================== --> | ||
<!-- Add a HTTP Connector. --> | ||
<!-- Configure an o.e.j.server.ServerConnector with a single --> | ||
<!-- HttpConnectionFactory instance using the common httpConfig --> | ||
<!-- instance defined in jetty.xml --> | ||
<!-- --> | ||
<!-- Consult the javadoc of o.e.j.server.ServerConnector and --> | ||
<!-- o.e.j.server.HttpConnectionFactory for all configuration --> | ||
<!-- that may be set here. --> | ||
<!-- =========================================================== --> | ||
<Call name="addConnector"> | ||
<Arg> | ||
<New class="org.eclipse.jetty.server.ServerConnector"> | ||
<Arg name="server"><Ref refid="Server" /></Arg> | ||
<Arg name="acceptors" type="int"><Property name="solr.jetty.http.acceptors" default="-1"/>{{ solr_jetty_http_acceptors }}</Arg> | ||
<Arg name="selectors" type="int"><Property name="solr.jetty.http.selectors" default="-1"/>{{ solr_jetty_http_selectors }}</Arg> | ||
<Arg name="factories"> | ||
<Array type="org.eclipse.jetty.server.ConnectionFactory"> | ||
<Item> | ||
<New class="org.eclipse.jetty.server.HttpConnectionFactory"> | ||
<Arg name="config"><Ref refid="httpConfig" /></Arg> | ||
</New> | ||
</Item> | ||
</Array> | ||
</Arg> | ||
<Set name="host"><Property name="jetty.host" /></Set> | ||
<Set name="port"><Property name="jetty.port" default="8983" /></Set> | ||
<Set name="idleTimeout"><Property name="solr.jetty.http.idleTimeout" default="50000"/></Set> | ||
<Set name="soLingerTime"><Property name="solr.jetty.http.soLingerTime" default="-1"/></Set> | ||
<Set name="acceptorPriorityDelta"><Property name="solr.jetty.http.acceptorPriorityDelta" default="0"/></Set> | ||
<Set name="selectorPriorityDelta"><Property name="solr.jetty.http.selectorPriorityDelta" default="0"/></Set> | ||
<Set name="acceptQueueSize"><Property name="solr.jetty.http.acceptQueueSize" default="0"/></Set> | ||
</New> | ||
</Arg> | ||
</Call> | ||
|
||
</Configure> |