[http_service]
internal_port = 8081
force_https = true
auto_stop_machines = false
auto_start_machines = true
min_machines_running = 2
processes = ['app']
[[vm]]
cpu_kind = 'shared'
cpus = 1
memory_mb = 1024
Above is the configuration of my fly.toml
file. I am encountering the same issue as Nboliver [Shopify app slow to respond causing webhook timeouts]. During the webhook’s first attempt, it times out, but it works perfectly on the second try. To fix this issue, I have changed auto_stop_machines
to false
and min_machines_running
to 2
, but I still face the same problem. How can I prevent the webhook from timing out? Should I upgrade my cpus
or memory_mb
? Please help