forked from AresPhoenix345/ForwardFlow_V2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.py
More file actions
31 lines (29 loc) · 833 Bytes
/
config.py
File metadata and controls
31 lines (29 loc) · 833 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/usr/bin/env python3
"""
Configuration file for CNCF Issue Tracker Bot
Contains repository list and default settings.
"""
# Repository list to monitor
REPOSITORIES = [
"open-telemetry/opentelemetry.io",
"open-telemetry/opentelemetry-collector-contrib",
"open-telemetry/opentelemetry-demo",
"open-telemetry/opentelemetry-specification",
"open-telemetry/community",
"meshery/meshery",
"meshery/meshery.io",
"layer5io/docs",
"kubernetes/website",
"kubernetes/community",
"kubernetes-sigs/contributor-playground",
"kubernetes/enhancements",
]
# Default configuration values
DEFAULT_CHECK_INTERVAL = 60 # 1 minute for more real-time feel
DATABASE_PATH = "cncf_issues.db"
LOG_LEVEL = "INFO"
BATCH_SIZE = 3
BATCH_DELAY = 2
NOTIFICATION_DELAY = 1
API_TIMEOUT = 10
CHECK_BUFFER_MINUTES = 2