Skip to content

Commit

Permalink
Public limits update.
Browse files Browse the repository at this point in the history
  • Loading branch information
iwatkot committed Feb 27, 2025
1 parent fd5542b commit 5226756
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions webui/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@
}
FAQ_MD = os.path.join(DOCS_DIRECTORY, "FAQ.md")

QUEUE_LIMIT = 5
QUEUE_LIMIT = 3
DEFAULT_LAT = 45.28571409289627
DEFAULT_LON = 20.237433441210115

QUEUE_FILE = os.path.join(WORKING_DIRECTORY, "queue.json")
HISTORY_FILE = os.path.join(WORKING_DIRECTORY, "history.json")
QUEUE_TIMEOUT = 120 # 2 minutes
QUEUE_INTERVAL = 5
QUEUE_TIMEOUT = 180
QUEUE_INTERVAL = 10

REMOVE_DELAY = 300 # 5 minutes

Expand Down
2 changes: 1 addition & 1 deletion webui/queuing.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def get_queue(force: bool = False) -> dict[int, str]:
queue = json.load(f)

for epoch, session in queue.items():
if int(epoch) + int(QUEUE_TIMEOUT * 1.5) < int(time()):
if int(epoch) + int(QUEUE_TIMEOUT * 2) < int(time()):
remove_from_queue(session, queue)

return queue
Expand Down

0 comments on commit 5226756

Please sign in to comment.