diff --git a/ATTRIBUTIONS.md b/ATTRIBUTIONS.md index 6c5e503..e332c92 100644 --- a/ATTRIBUTIONS.md +++ b/ATTRIBUTIONS.md @@ -360,7 +360,7 @@ SOFTWARE. ``` -## aignostics-foundry-core (0.9.0) - MIT License +## aignostics-foundry-core (0.11.0) - MIT License 🏭 Foundational infrastructure for Foundry components. diff --git a/src/aignostics_foundry_core/gui/core.py b/src/aignostics_foundry_core/gui/core.py index d756b71..16f99c2 100644 --- a/src/aignostics_foundry_core/gui/core.py +++ b/src/aignostics_foundry_core/gui/core.py @@ -25,7 +25,7 @@ from aignostics_foundry_core.gui.auth import FrameFunc WINDOW_SIZE = (1280, 768) -BROWSER_RECONNECT_TIMEOUT = 60 * 60 * 24 * 7 # 7 days +BROWSER_RECONNECT_TIMEOUT = 30 # default is 3 seconds, was 7 days previously RESPONSE_TIMEOUT = 30 diff --git a/tests/aignostics_foundry_core/gui/gui_test.py b/tests/aignostics_foundry_core/gui/gui_test.py index 3a91d5f..2e02b5c 100644 --- a/tests/aignostics_foundry_core/gui/gui_test.py +++ b/tests/aignostics_foundry_core/gui/gui_test.py @@ -221,20 +221,12 @@ def test_cannot_instantiate_directly(self) -> None: class TestConstants: """Tests for gui constants.""" - def test_response_timeout(self) -> None: - """RESPONSE_TIMEOUT is 30 seconds.""" - assert RESPONSE_TIMEOUT == 30 - def test_window_size_tuple(self) -> None: """WINDOW_SIZE is a (width, height) tuple with positive dimensions.""" w, h = WINDOW_SIZE assert w > 0 assert h > 0 - def test_browser_reconnect_timeout_is_long(self) -> None: - """BROWSER_RECONNECT_TIMEOUT is at least one day in seconds.""" - assert BROWSER_RECONNECT_TIMEOUT >= 60 * 60 * 24 - # --------------------------------------------------------------------------- # gui_register_pages