So I deployed my app a while ago and started noticing a weird behaviour where the web page would refresh every minute or so.
Looking at the logs, I saw the below:
This is what my fly.toml file looks like:
app = "myapp"
primary_region = "waw"
console_command = "/code/manage.py shell"
[build]
[deploy]
release_command = "python manage.py migrate"
[env]
PORT = "8000"
[http_service]
internal_port = 8000
force_https = true
auto_stop_machines = true
auto_start_machines = true
min_machines_running = 0
processes = ["app"]
[[statics]]
guest_path = "/code/static"
url_prefix = "/static/"
I have not coded any workers/celery or anything in my app, and because I am a newby, I really can’t figure out what to try out.
Based on what I read, this could be related to gunicorn, but I am not sure how to troubleshoot because I cannot find anything about it in the forums or in the help. All points out at solutions where people actually have implemented workers in their code, which I haven’t.