This repository has been archived by the owner on Jul 16, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dispatch.yaml
55 lines (44 loc) · 1.27 KB
/
dispatch.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
dispatch:
# Pin these pages to py2
- url: "www.thebluealliance.com/_/account/*"
service: default
- url: "www.thebluealliance.com/search*"
service: default
# match py2 css and javascript (py3 is prefixed with py3_)
- url: "www.thebluealliance.com/css/*"
service: default
- url: "www.thebluealliance.com/js/*"
service: default
# APIs on py3 (both apiv3 and trusted api)
- url: "www.thebluealliance.com/api/*"
service: py3-api
# Send low-frequency long-running tasks to backend module
# Uses B2 instance for higher CPU/memory limits
- url: "*/backend-tasks-b2/*"
service: py3-tasks-cpu
# Send low-frequency long-running tasks to backend module
- url: "*/backend-tasks/*"
service: py3-tasks-io
# Handles latency-insensive tasks
- url: "*/tasks/*"
service: py3-tasks-io
# API docs (swagger)
- url: "*/swagger/*"
service: py3-web
# mobile client API to py3
- url: "*/clientapi/*"
service: py3-api
# Default catch-all to py3
- url: "www.thebluealliance.com/*"
service: py3-web
# Explicitly choose py2 or py3 based on host
- url: "py3.thebluealliance.com/*"
service: py3-web
- url: "py2.thebluealliance.com/*"
service: default
# Beta PWA
# - url: "beta.thebluealliance.com/*"
# service: pwa-ssr
# Send everything else to default module
- url: "*/"
service: default