mirror of
https://github.com/google/nomulus.git
synced 2025-05-09 08:18:21 +02:00
100 is way overkill with manual scaling. 30 is most likely still overkill too, but we want to tune incrementally rather than all at once. Note that at 30 instances we're expecting around 3 QPS per instance, which is still an order of magnitude less than each instance can actually handle. This also fixes the instance type on sandbox to be the same as on prod. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=196875876
34 lines
1.1 KiB
XML
34 lines
1.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<appengine-web-app xmlns="http://appengine.google.com/ns/1.0">
|
|
|
|
<application>domain-registry</application>
|
|
<version>1</version>
|
|
<runtime>java8</runtime>
|
|
<module>default</module>
|
|
<threadsafe>true</threadsafe>
|
|
<sessions-enabled>true</sessions-enabled>
|
|
<instance-class>B4_1G</instance-class>
|
|
<manual-scaling>
|
|
<instances>30</instances>
|
|
</manual-scaling>
|
|
|
|
<system-properties>
|
|
<property name="java.util.logging.config.file"
|
|
value="WEB-INF/logging.properties"/>
|
|
<property name="google.registry.environment"
|
|
value="sandbox"/>
|
|
</system-properties>
|
|
|
|
<static-files>
|
|
<include path="/*.html" expiration="1d"/>
|
|
<include path="/assets/js/**" expiration="1d"/>
|
|
<include path="/assets/css/**" expiration="1d"/>
|
|
<include path="/assets/images/**" expiration="1d"/>
|
|
<include path="/assets/sources/**" expiration="1d"/>
|
|
</static-files>
|
|
|
|
<!-- Prevent uncaught servlet errors from leaking a stack trace. -->
|
|
<static-error-handlers>
|
|
<handler file="error.html"/>
|
|
</static-error-handlers>
|
|
</appengine-web-app>
|