<?xml version="1.0" encoding="utf-8"?>
<appengine-web-app xmlns="http://appengine.google.com/ns/1.0">
  <threadsafe>false</threadsafe>
  <sessions-enabled>true</sessions-enabled>
  <runtime>java8</runtime>
  <static-files>
    <!-- prevent unwanted caching when accessing via the web preview server -->
    <include path="/**" expiration="0s" />
  </static-files>
  <manual-scaling>
   <instances>1</instances>
  </manual-scaling>
  <env-variables>
    <env-var name="DOWNLOAD_QUEUE_ID" value="download-queue" />
    <env-var name="LOCATION_ID" value="us-central1" />
  </env-variables>
</appengine-web-app>

<?xml version="1.0" encoding="utf-8"?>
<appengine-web-app xmlns="http://appengine.google.com/ns/1.0">
  <threadsafe>false</threadsafe>
  <sessions-enabled>true</sessions-enabled>
  <runtime>java8</runtime>
  <static-files>
    <!-- prevent unwanted caching when accessing via the web preview server -->
    <include path="/**" expiration="0s" />
  </static-files>
  <instance-class>B1</instance-class>
	<basic-scaling>
	    <max-instances>1</max-instances>
	    <idle-timeout>1m</idle-timeout>
	</basic-scaling>
  <env-variables>
    <env-var name="DOWNLOAD_QUEUE_ID" value="download-queue" />
    <env-var name="LOCATION_ID" value="us-central1" />
  </env-variables>
</appengine-web-app>

Use basic scaling with maximum of one instance.
Use basic scaling with maximum of one instance.
