cloudflare/cloudflared

Public

mirrored fromhttps://github.com/cloudflare/cloudflaredAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
4d95ab73f584a5a6439803648f013031ca1dd4ac

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

component-tests/constants.py

21lines · modecode

1METRICS_PORT = 51000
2MAX_RETRIES = 5
3BACKOFF_SECS = 7
4MAX_LOG_LINES = 50
5
6MANAGEMENT_HOST_NAME = "management.argotunnel.com"
7
8# How long to wait for the cloudflared process to exit after SIGTERM before
9# sending SIGKILL.
10GRACEFUL_SHUTDOWN_TIMEOUT = 10
11# How long to wait for each pipe reader thread to finish after the process
12# exits.
13READER_THREAD_JOIN_TIMEOUT = 5
14# How long to wait for an expected log message to appear before giving up.
15LOG_POLL_TIMEOUT = 30
16# How often to re-check the accumulated log lines while polling.
17LOG_POLL_INTERVAL = 0.5
18
19
20def protocols():
21 return ["http2", "quic"]
22