mirror of
https://github.com/ArchipelagoMW/Archipelago.git
synced 2026-04-13 00:13:33 -07:00
WebHost: turn Room.timeout from a database column into a flask app config field
This commit is contained in:
@@ -27,7 +27,6 @@ class Room(db.Entity):
|
||||
seed = Required('Seed', index=True)
|
||||
multisave = Optional(buffer, lazy=True)
|
||||
show_spoiler = Required(int, default=0) # 0 -> never, 1 -> after completion, -> 2 always
|
||||
timeout = Required(int, default=lambda: 2 * 60 * 60) # seconds since last activity to shutdown
|
||||
tracker = Optional(UUID, index=True)
|
||||
# Port special value -1 means the server errored out. Another attempt can be made with a page refresh
|
||||
last_port = Optional(int, default=lambda: 0)
|
||||
|
||||
Reference in New Issue
Block a user