Skip to content

Commit 8a4b309

Browse files
committed
UPDATE entry
1 parent d444180 commit 8a4b309

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

app.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -995,8 +995,7 @@ def server_error(e):
995995
996996
socketio.run(app, host="0.0.0.0", port=port, debug=debug)
997997
'''
998-
# Fly.io entry
999998

1000999
if __name__ == "__main__":
1001-
port = int(os.environ.get("PORT", 5001))
1000+
port = int(os.environ.get("PORT", 8080))
10021001
socketio.run(app, host="0.0.0.0", port=port)

fly.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ kill_timeout = "5s"
1414
force_https = true
1515
auto_stop_machines = true
1616
auto_start_machines = true
17-
min_machines_running = 0
17+
min_machines_running = 1
1818
processes = ["app"]
1919

2020
[http_service.concurrency]

0 commit comments

Comments
 (0)