kill_timeout not respected

I have kill_timeout defined in my config:

[http_service]
kill_timeout = 185

However, I can see in the logs it’s not being respected and my app is killed after 5 seconds:

2025-11-03T21:23:09Z app[080e45ef2d9258] sjc [info] INFO Sending signal SIGINT to main child process w/ PID 641
2025-11-03T21:23:14Z app[080e45ef2d9258] sjc [info] INFO Sending signal SIGTERM to main child process w/ PID 641

Am I missing something or doing something wrong?

kill_timeout is a top-level key, not under http_service. App configuration (fly.toml) · Fly Docs

Ah, dumb mistake. Thank you! Any way we can have flyctl give a warning or error on invalid/unknown keys instead of silently ignoring them?

there is fly config validate --strict which does this, I’m not sure why it is not the default but it’s probably something to do with legacy compatibility.

1 Like

Perfect, thank you!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.