Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ATTRIBUTIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion src/aignostics_foundry_core/gui/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down
8 changes: 0 additions & 8 deletions tests/aignostics_foundry_core/gui/gui_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading