# Copyright 2017 The LUCI Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

service: backend
runtime: go
api_version: go1

instance_class: F2

inbound_services:
  - warmup

handlers:
- url: "/internal/*"
  script: _go_app
  secure: always
  login: admin

- url: "/.*"
  script: _go_app
  secure: always
  login: admin

# Copyright 2017 The LUCI Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

service: backend
runtime: go
api_version: go1

instance_class: F4_1G

inbound_services:
  - warmup

handlers:
- url: "/internal/*"
  script: _go_app
  secure: always
  login: admin

- url: "/.*"
  script: _go_app
  secure: always
  login: admin

Use F4_1G instances in the backend (from F2)
[logdog] Use F4_1G instances in the backend (from F2)

Current jobs are OOMing, likely under normal usage.
This will increase backend instance costs by 4x.
If instances continue to OOM after this CL, that indicates
a real leak, and this is unlikely to help.

Bug: 795156
Change-Id: I01a7b5ddf56eb994b935712b2fbfe0824fec4638
Reviewed-on: https://chromium-review.googlesource.com/1135929
Commit-Queue: Ryan Tseng <2190fe9a39b4920ec7bd59c848ec5cccd163056f@chromium.org>
Reviewed-by: Quinten Yearsley <747cf52e0cef2e3e9371802a2d344b6c87126a4b@chromium.org>
