-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwrangler.toml
More file actions
83 lines (66 loc) · 1.79 KB
/
wrangler.toml
File metadata and controls
83 lines (66 loc) · 1.79 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
name = "colorglyph-worker"
main = "dist/index.js"
compatibility_date = "2024-04-04"
workers_dev = true
[[kv_namespaces]]
binding = "GLYPHS"
id = "4130f4e274094e62a6609f5801d0bdba"
[[d1_databases]]
binding = "DB"
database_name = "colorglyph-worker-testnet"
database_id = "8d5a1739-7bc0-405d-9b5b-2420699199aa"
[[r2_buckets]]
binding = 'ERRORS'
bucket_name = 'colorglyph-errors'
[[r2_buckets]]
binding = 'IMAGES'
bucket_name = 'colorglyph-images'
[[durable_objects.bindings]]
name = "MINT_FACTORY"
class_name = "MintFactory"
[[migrations]]
tag = "v1"
new_classes = ["MintFactory"]
[[migrations]]
tag = "v2"
new_classes = ["TestDo"]
[[migrations]]
tag = "v3"
deleted_classes = ["TestDo"]
[[migrations]]
tag = "v4"
deleted_classes = ["ChannelAccount"]
[[queues.producers]]
binding = "TX_SEND"
queue = "colorglyph-tx-send"
[[queues.producers]]
binding = "TX_GET"
queue = "colorglyph-tx-get"
[[queues.consumers]]
queue = "colorglyph-tx-send"
max_batch_size = 1 # eventually we can probably scale this up but during Phase 1 it would just result in more NOT_FOUNDs and ERRORs than viable PENDINGs
max_batch_timeout = 5
max_retries = 6
max_concurrency = 1
[[queues.consumers]]
queue = "colorglyph-tx-get"
max_batch_size = 1 # consider increasing this (keep in mind RPC rate limits though)
max_batch_timeout = 5
max_retries = 12
max_concurrency = 1 # consider allowing this to autoscale
# dead_letter_queue = "colorglyph-tx-get-dlq"
# [[queues.consumers]]
# queue = "colorglyph-tx-get-dlq"
# max_batch_size = 1
# max_batch_timeout = 5
# max_retries = 6
# max_concurrency = 1
[vars]
ENV = "production"
NETWORK = "test"
CONTRACT_ID = "CARZSHD6BLSLB5ENFR76QI4VNJ2XUHXEDCRG77VMLOAICRG7MZTIZPA7"
# OCEAN_PK = "GDKZ4O7446TNQTR3NZVJTAS7FTF6B6P2VF3B5NT2SMB2BPAF5OMIJO4S"
[build]
command = "npm run build"
[define]
global = "globalThis"