<commit_before>runtime: go
vm: true
api_version: go1

automatic_scaling:
  min_num_instances: 1
  max_num_instances: 5
  cool_down_period_sec: 60
  cpu_utilization:
    target_utilization: 0.8

health_check:
  enable_health_check: True
  check_interval_sec: 5
  timeout_sec: 4
  unhealthy_threshold: 2
  healthy_threshold: 2
  restart_threshold: 60

network:
  instance_tag: "mvm"

resources:
  cpu: .5
  memory_gb: 1.3

handlers:
  - url: /api/.+
    script: _go_app
    secure: always

  - url: /_ah/.+
    script: _go_app
    login: admin

  - url: /status
    script: _go_app
    login: admin
    secure: always

  - url: /dashboard/bower_components/(.+)
    static_files: dashboard/bower_components/\1
    upload: dashboard/bower_components
    secure: always
    expiration: 4d
    http_headers:
      strict-transport-security: max-age=15552000

  - url: /dashboard/(.+)<commit_msg>gae: Enable handler for newsletter subscription<commit_after>runtime: go
vm: true
api_version: go1

automatic_scaling:
  min_num_instances: 1
  max_num_instances: 5
  cool_down_period_sec: 60
  cpu_utilization:
    target_utilization: 0.8

health_check:
  enable_health_check: True
  check_interval_sec: 5
  timeout_sec: 4
  unhealthy_threshold: 2
  healthy_threshold: 2
  restart_threshold: 60

network:
  instance_tag: "mvm"

resources:
  cpu: .5
  memory_gb: 1.3

handlers:
  - url: /api/.+
    script: _go_app
    secure: always

  - url: /_ah/.+
    script: _go_app
    login: admin

  - url: /status
    script: _go_app
    login: admin
    secure: always

  - url: /subscriptions
    script: _go_app
    login: admin
    secure: always

  - url: /dashboard/bower_components/(.+)
    static_files: dashboard/bower_components/\1
    upload: dashboard/bower_components
    secure: always
    expiration: 4d
    http_headers:
      strict-transport-security: max-age=15552000

  - url: /dashboard/(.+)
{'fraction_non_alphanumeric': 0.09138932910723718, 'fraction_numerical': 0.02746962493396725, 'mean_word_length': 3.2088888888888887, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1280634', 'n_tokens_mistral': 732, 'n_tokens_neox': 676, 'n_words': 158}