service: upload-processing
runtime: python27
api_version: 1
instance_class: F2

# A single upload can consume a lot of memory, so threadsafe:false prevents
# handling multiple uploads simultaneously in order to stay under F2's 256MB
# memory limit.
threadsafe: false

automatic_scaling:
  max_concurrent_requests: 5
  max_instances: 600
  max_pending_latency: automatic
  min_instances: 12
  target_cpu_utilization: 0.8

libraries:
- name: jinja2
  version: "2.6"
- name: pycrypto
  version: "2.6"
- name: webapp2
  version: "2.5.2"
- name: ssl
  version: latest

env_variables:
  GAE_USE_SOCKETS_HTTPLIB: 'true'

builtins:
- appstats: on
- deferred: on

handlers:
- url: /.*
  script: dashboard.dispatcher.APP
  secure: always

service: upload-processing
runtime: python27
api_version: 1
instance_class: F2

# A single upload can consume a lot of memory, so threadsafe:false prevents
# handling multiple uploads simultaneously in order to stay under F2's 256MB
# memory limit.
threadsafe: false

automatic_scaling:
  max_concurrent_requests: 5
  max_instances: 900
  max_pending_latency: automatic
  min_instances: 12
  target_cpu_utilization: 0.8

libraries:
- name: jinja2
  version: "2.6"
- name: pycrypto
  version: "2.6"
- name: webapp2
  version: "2.5.2"
- name: ssl
  version: latest

env_variables:
  GAE_USE_SOCKETS_HTTPLIB: 'true'

builtins:
- appstats: on
- deferred: on

handlers:
- url: /.*
  script: dashboard.dispatcher.APP
  secure: always

Update capacity for upload processing
operations: Update capacity for upload processing

R=f07c55753dac44d78e0294a1d64ea321baaa78f4@google.com, fancl@chromium.org

Change-Id: Ic06079dbd0ecc5628b20dca875d892585ebfc795
Reviewed-on: https://chromium-review.googlesource.com/c/catapult/+/2210088
Commit-Queue: Dean Berris <34a37f59e4ade3cf49221306f04217acf3e86255@chromium.org>
Commit-Queue: Andrew Bennetts <f07c55753dac44d78e0294a1d64ea321baaa78f4@google.com>
Auto-Submit: Dean Berris <34a37f59e4ade3cf49221306f04217acf3e86255@chromium.org>
Reviewed-by: Andrew Bennetts <f07c55753dac44d78e0294a1d64ea321baaa78f4@google.com>
