-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwrangler.jsonc
More file actions
63 lines (63 loc) · 1.17 KB
/
wrangler.jsonc
File metadata and controls
63 lines (63 loc) · 1.17 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
{
// Schema reference for wrangler configuration
"$schema": "node_modules/wrangler/config-schema.json",
// Name of your worker
"name": "playwright-metrics",
// Entry point for your worker
"main": "src/worker.tsx",
// Compatibility settings
"compatibility_date": "2025-08-21",
"compatibility_flags": [
"nodejs_compat"
],
// Assets configuration
"assets": {
"binding": "ASSETS"
},
"r2_buckets": [
{
"bucket_name": "play-report",
"binding": "R2",
"remote": true
}
],
"durable_objects": {
"bindings": [
{
"name": "DATABASE",
"class_name": "Database"
}
]
},
"migrations": [
{
"tag": "v1",
"new_sqlite_classes": [
"Database"
]
}
],
// Observability settings
"observability": {
"enabled": true
},
"queues": {
"producers": [
{
"binding": "INGESTION_QUEUE",
"queue": "ingestion-queue"
}
],
"consumers": [
{
"queue": "ingestion-queue",
"max_batch_size": 10,
"max_batch_timeout": 30
}
]
},
// Environment variables
"vars": {
// Add your environment variables here
}
}