Skip to content

Commit

Permalink
More wrangler fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
lemonmade committed Mar 31, 2024
1 parent 36b4187 commit ab8b302
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 27 deletions.
4 changes: 4 additions & 0 deletions functions/stripe/configuration/wrangler.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,14 @@ main = "../build/output/stripe.js"

account_id = "9bfdb755def60e50760e33036c6f1624"
compatibility_date = "2024-03-29"
compatibility_flags = ["nodejs_compat"]

logpush = true
workers_dev = false

[limits]
cpu_ms = 500

[[services]]
binding = "EMAIL_SERVICE"
service = "watch-email"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ workers_dev = false
# Every 12 hours
crons = ["0 */12 * * *", "*/5 * * * *"]

[limits]
cpu_ms = 500

# @see https://developers.cloudflare.com/queues/configuration/
[[queues.producers]]
queue = "watch-tmdb-refresher"
Expand Down
3 changes: 3 additions & 0 deletions functions/tmdb-refresher/configuration/wrangler.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ compatibility_date = "2024-03-29"
logpush = true
workers_dev = false

[limits]
cpu_ms = 500

# @see https://developers.cloudflare.com/queues/configuration/
[[queues.consumers]]
queue = "watch-tmdb-refresher"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"typescript": "^5.3.3",
"vite": "^5.0.10",
"vitest": "^1.1.1",
"wrangler": "^3.28.4"
"wrangler": "^3.41.0"
},
"packageManager": "[email protected]+sha256.cea6d0bdf2de3a0549582da3983c70c92ffc577ff4410cbf190817ddc35137c2",
"prettier": "@quilted/prettier",
Expand Down
52 changes: 26 additions & 26 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ab8b302

Please sign in to comment.