Skip to content

PR with online detection #151

@helmut-hoffer-von-ankershoffen

Description

Add CLI command "aignostics system online" which exits with 1 if not online, 0 otherwise, and prints info if online (green) or not (red).

For that provide is_online() in system service, drawing from system info, as in using well known and reliable source to check connectivity.

Cache online information for 60 seconds (default), with that number configurable in settings of system module.

Provide tests for the above in tests directory of system module.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions