Today i deployed my app as always and fly decided to lower my machine memory to 256MB, making it go OOM repeatedly for 15 minutes until I was able to fix the problem
I don’t want this to ever happen again, a solution would be to add as many config as you can in the fly.toml
file so that every deployment is idempotent.
There are a lot of quirks in the fly cli and API, I have no idea why this happened, it could be because scaling a machine count to 0 resets the machine size? Or some other bug like that
I deployed my app as always by running fly deploy
, fly regions set
and fly secrets set
in a script