-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwrangler.toml
More file actions
66 lines (50 loc) · 1.2 KB
/
wrangler.toml
File metadata and controls
66 lines (50 loc) · 1.2 KB
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
56
57
58
59
60
61
62
63
64
65
66
name = "test"
main = "dist/index.mjs"
workers_dev = false
account_id = "dc941e8156f4a1336ca08481cb6d4222"
usage_model = "bundled"
compatibility_date = "2022-09-14"
compatibility_flags = []
routes = [
{ pattern = "testing.garretcharp.com", custom_domain = true }
]
# r2_buckets = [
# { binding = "BUCKET", bucket_name = "a-test"}
# ]
[durable_objects]
bindings = [
{ name = "TestDO", class_name = "TestDO" },
{ name = "Limits", class_name = "Limits" }
]
[[unsafe.bindings]]
type = "analytics_engine"
name = "DurableObjectLimits"
[[queues.producers]]
queue = "test-queue"
binding = "TestQueue"
[[queues.consumers]]
queue = "test-queue"
max_batch_size = 100
max_batch_timeout = 30
# [[ d1_databases ]]
# binding = "TestD1"
# database_name = "test-d1"
# database_id = "aa6f2f3f-b483-437f-94b9-a9b932b83e65"
# [[ d1_databases ]]
# binding = "AnotherD1"
# database_name = "another-d1"
# database_id = "a42194f9-3137-41a1-8f64-df0cf045a6d6"
[[migrations]]
tag = "v1"
new_classes = ["TestDO"]
[[migrations]]
tag = "v2"
new_classes = ["ChatManager", "ChatNode"]
[[migrations]]
tag = "v3"
deleted_classes = ["ChatManager", "ChatNode"]
[[migrations]]
tag = "v4"
new_classes = ["Limits"]
[build]
command = "npm run build"