Repository navigation
Expand file tree
/
Copy pathwrangler.jsonc.example
More file actions
98 lines (98 loc) · 1.66 KB
/
Copy pathwrangler.jsonc.example
File metadata and controls
98 lines (98 loc) · 1.66 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{
"$schema": "node_modules/wrangler/config-schema.json",
"name": "mailflare",
"main": "./worker.ts",
"compatibility_date": "2026-05-20",
"compatibility_flags": [
"nodejs_compat",
"global_fetch_strictly_public"
],
"assets": {
"binding": "ASSETS",
"not_found_handling": "none",
},
"images": {
"binding": "IMAGES",
},
"services": [
{
"binding": "WORKER_SELF_REFERENCE",
"service": "mailflare",
},
],
"triggers": {
"crons": ["0 2 * * *", "*/5 * * * *"],
},
"ratelimits": [
{
"name": "LOGIN_RATE_LIMIT",
"namespace_id": "1001",
"simple": {
"limit": 20,
"period": 60,
},
},
{
"name": "AGENT_RATE_LIMIT",
"namespace_id": "1002",
"simple": { "limit": 120, "period": 60 },
},
],
"observability": {
"enabled": true,
},
"upload_source_maps": true,
"send_email": [
{
"name": "EMAIL",
"remote": true,
},
],
"ai": { "binding": "AI" },
"d1_databases": [
{
"binding": "DB",
"database_name": "mailflare",
"migrations_dir": "drizzle/migrations",
},
],
"r2_buckets": [
{
"binding": "BUCKET",
"bucket_name": "mailflare-raw",
},
],
"queues": {
"producers": [
{
"binding": "INBOUND_QUEUE",
"queue": "mailflare-inbound",
},
{
"binding": "OUTBOUND_QUEUE",
"queue": "mailflare-outbound",
},
{
"binding": "AGENT_QUEUE",
"queue": "mailflare-agent",
},
],
"consumers": [
{
"queue": "mailflare-inbound",
"max_batch_size": 5,
"max_retries": 3,
},
{
"queue": "mailflare-outbound",
"max_batch_size": 5,
"max_retries": 3,
},
{
"queue": "mailflare-agent",
"max_batch_size": 1,
"max_retries": 3,
},
],
},
}