Something went wrong. Try again.
Cloudflare Tunnel client with NetBSD support
Something went wrong. Try again.
623 B · 22 lines
Python
1234567891011121314151617181920212223METRICS_PORT = 51000MAX_RETRIES = 5BACKOFF_SECS = 7DNS_BACKOFF_SECS = 15MAX_LOG_LINES = 50
MANAGEMENT_HOST_NAME = "management.argotunnel.com"
# How long to wait for the cloudflared process to exit after SIGTERM before# sending SIGKILL.GRACEFUL_SHUTDOWN_TIMEOUT = 10# How long to wait for each pipe reader thread to finish after the process# exits.READER_THREAD_JOIN_TIMEOUT = 5# How long to wait for an expected log message to appear before giving up.LOG_POLL_TIMEOUT = 30# How often to re-check the accumulated log lines while polling.LOG_POLL_INTERVAL = 0.5
def protocols(): return ["http2", "quic"]