Skip to content

Tracker Checker: gracefully handle timeouts #677

@josecelano

Description

@josecelano

Parent issue: #669

Currently, you can run the Tracker Checker with this input:

TORRUST_CHECKER_CONFIG='{
    "udp_trackers": ["127.0.0.1:6969"],
    "http_trackers": ["http://127.0.0.1:7070"],
    "health_checks": ["http://127.0.0.1:1313/health_check"]
}' cargo run --bin tracker_checker

In some cases, there could be a missing timeout for network operations and in other cases where there is a timeout, the error is not handled gracefully.

This issue tracks all subtasks related to timeout issues.

Subtasks

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions