From 8f5ceb6cfe773366cb8045c0e9768c8eceeeead4 Mon Sep 17 00:00:00 2001 From: Rodja Trappe Date: Sun, 26 Jan 2025 05:51:03 +0100 Subject: [PATCH] Do not replace main page with an empty one (fixes #4270) --- .dockerignore | 11 ++++++----- fly.toml | 2 +- .../documentation/content/storage_documentation.py | 7 +++---- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.dockerignore b/.dockerignore index cd7d0cf4e..e8f70510b 100644 --- a/.dockerignore +++ b/.dockerignore @@ -11,13 +11,14 @@ demo.py **/.pytest_cache **/.coverage **/.git +**/.github **/.mypy_cache **/.nicegui -# flyctl launch added from .pytest_cache/.gitignore -# Created by pytest automatically. .pytest_cache/**/* - -# flyctl launch added from tests/.pytest_cache/.gitignore -# Created by pytest automatically. tests/.pytest_cache/**/* +**/.ruff_cache +**/*.pyc +**/.DS_Store +**/.idea +**/.vscode diff --git a/fly.toml b/fly.toml index 667a91cd4..a6a7e7d9a 100644 --- a/fly.toml +++ b/fly.toml @@ -37,7 +37,7 @@ swap_size_mb = 2048 handlers = ["tls", "http"] [services.concurrency] type = "requests" - hard_limit = 120 + hard_limit = 80 soft_limit = 50 [[services.tcp_checks]] diff --git a/website/documentation/content/storage_documentation.py b/website/documentation/content/storage_documentation.py index 1eeffd35a..6f1749f70 100644 --- a/website/documentation/content/storage_documentation.py +++ b/website/documentation/content/storage_documentation.py @@ -144,10 +144,9 @@ def max_tab_storage_age(): # app.storage.max_tab_storage_age = timedelta(minutes=1).total_seconds() ui.label(f'Tab storage age: {timedelta(minutes=1).total_seconds()} seconds') # HIDE - @ui.page('/') - def index(): - # ui.label(f'Tab storage age: {app.storage.max_tab_storage_age} seconds') - pass # HIDE + # @ui.page('/') + # def index(): + # ui.label(f'Tab storage age: {app.storage.max_tab_storage_age} seconds') @doc.demo('Short-term memory', '''