Skip to content

Fastapi server keepalve - #211

Merged
stefanodellosa-personal merged 2 commits into
mainfrom
fastapi_server_keepalve
Aug 3, 2026
Merged

stefanodellosa-personal merged 2 commits into
mainfrom
fastapi_server_keepalve

Conversation

@stefanodellosa-personal

Copy link
Copy Markdown
Collaborator

Introduced Watchdog timer to mitigate asyncio failure on Windows

Comment on lines +65 to +67
watchdog_interval_s: int = 900,
watchdog_failure_threshold: int = 2,
watchdog_probe_timeout_s: float = 5.0,

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove spaces around =


def _is_server_responsive(self) -> bool:
"""Performs a lightweight TLS handshake probe against the actuator
server's own listening socket to verify the accept loop is alive.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"to verify the" -> "to verify that the"

@stefanodellosa-personal
stefanodellosa-personal merged commit 10ffc57 into main Aug 3, 2026
2 checks passed
@stefanodellosa-personal
stefanodellosa-personal deleted the fastapi_server_keepalve branch August 3, 2026 05:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants