cloudflare/cloudflared

Public

mirrored from https://github.com/cloudflare/cloudflaredAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
2026.5.2

Branches

Tags

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

Clone

HTTPS

Download ZIP

component-tests/constants.py

21lines · modeblame

f23e33c0cthuang5 years ago1METRICS_PORT = 51000
9df60276cthuang5 years ago2MAX_RETRIES = 5
3BACKOFF_SECS = 7
be0305eccthuang3 years ago4MAX_LOG_LINES = 50
1e8dea91Nuno Diegues4 years ago5
ee5e447dDevin Carr3 years ago6MANAGEMENT_HOST_NAME = "management.argotunnel.com"
a6faa0c3Nuno Diegues4 years ago7
905d983dMiguel da Costa Martins Marcelino1 months ago8# 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
a6faa0c3Nuno Diegues4 years ago19
20def protocols():
93f8f6b5Devin Carr3 years ago21return ["http2", "quic"]