Last week I followed the functions-with-machines article and got a faas working nicely. Today I updated the code but now when the app tries to shut itself down the system immediately restarts it with this message:
runner[e784921c4dde83] ord [info] machine did not have a restart policy, defaulting to restart
Last week, the app would basically sleep until a new request came in. I can’t find “restart policy” documented anywhere on the fly website. I know restart policy is a Docker thing too (and I am using a Dockerfile), but that’s a docker run option. Any ideas?
@JP_Phillips I’m sure they’re still messing with it, but just fyi - now it’s not waking up for new requests. The request hangs for 60s then the connection is closed. Nothing shows up in the server logs on the Monitoring page.
Hi there! I’ve just deployed some changes that should fix “machines not getting woken up” in your case. A specific combination of settings triggered the bug, they should not be woken up in all cases.