server.xml (zxing-zxing-3.4.0) | : | server.xml (zxing-zxing-3.4.1) | ||
---|---|---|---|---|
skipping to change at line 20 | skipping to change at line 20 | |||
http://www.apache.org/licenses/LICENSE-2.0 | http://www.apache.org/licenses/LICENSE-2.0 | |||
Unless required by applicable law or agreed to in writing, software | Unless required by applicable law or agreed to in writing, software | |||
distributed under the License is distributed on an "AS IS" BASIS, | distributed under the License is distributed on an "AS IS" BASIS, | |||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||
See the License for the specific language governing permissions and | See the License for the specific language governing permissions and | |||
limitations under the License. | limitations under the License. | |||
--> | --> | |||
<!-- Additional config: | <!-- Additional config: | |||
JAVA_OPTS="-Djava.security.egd=file:/dev/urandom -Djava.awt.headless=true -Xmx32 0m -Xmx320m -XX:+UseG1GC" | JAVA_OPTS="-Djava.security.egd=file:/dev/urandom -Djava.awt.headless=true -Xmx25 60m" | |||
--> | --> | |||
<Server port="-1" shutdown=""> | <Server port="-1" shutdown=""> | |||
<!--APR library loader. Documentation at /docs/apr.html --> | <!--APR library loader. Documentation at /docs/apr.html --> | |||
<Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine= "on" /> | <Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine= "on" /> | |||
<!-- Prevent memory leaks due to use of particular java/javax APIs--> | <!-- Prevent memory leaks due to use of particular java/javax APIs--> | |||
<Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener" /> | <Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener" /> | |||
<Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListen er" /> | <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListen er" /> | |||
<Listener className="org.apache.catalina.core.ThreadLocalLeakPreventionListene r" /> | <Listener className="org.apache.catalina.core.ThreadLocalLeakPreventionListene r" /> | |||
<Service name="Catalina"> | <Service name="Catalina"> | |||
<Executor name="tomcatThreadPool" namePrefix="catalina-exec-" maxThreads="4" minSpareThreads="1"/> | <Executor name="tomcatThreadPool" namePrefix="catalina-exec-" maxThreads="8" minSpareThreads="1"/> | |||
<Connector port="80" protocol="org.apache.coyote.http11.Http11Nio2Protocol" | <Connector port="80" protocol="org.apache.coyote.http11.Http11Nio2Protocol" | |||
redirectPort="443" | redirectPort="443" | |||
server="Apache" compression="8192" | server="Apache" compression="8192" | |||
executor="tomcatThreadPool" | executor="tomcatThreadPool" | |||
URIEncoding="UTF-8"/> | URIEncoding="UTF-8"/> | |||
<Connector port="443" protocol="org.apache.coyote.http11.Http11Nio2Protocol" | <Connector port="443" protocol="org.apache.coyote.http11.Http11Nio2Protocol" | |||
server="Apache" compression="8192" | server="Apache" compression="8192" | |||
executor="tomcatThreadPool" | executor="tomcatThreadPool" | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added |