Skip to content

Commit ecefbaa

Browse files
authored
Merge pull request #10 from serkanh/slack-message-handling
updated slack message handling
2 parents 4608138 + 2203b19 commit ecefbaa

2 files changed

Lines changed: 554 additions & 56 deletions

File tree

slack_bot/.env.example

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ SLACK_APP_TOKEN=xapp-your-slack-app-token-here
1616
# =============================================================================
1717

1818
# API Communication Settings
19-
SRE_AGENT_API_TIMEOUT=30
19+
API_TIMEOUT=300 # Default 300 seconds (5 minutes)
2020

2121
# Session Management
22-
SESSION_TIMEOUT_MINUTES=60
23-
MAX_ACTIVE_SESSIONS=100
22+
SESSION_TIMEOUT_MINUTES=1200 # Default 1200 minutes (20 hours)
2423

25-
# Health Check Configuration
26-
HEALTH_CHECK_INTERVAL=300 # seconds
24+
# User Access Control (Optional)
25+
WHITELIST_ENABLED=false # Set to true to enable user whitelist
26+
WHITELIST_USERS= # Comma-separated list of Slack user IDs (e.g., U1234,U5678)
2727

2828
# =============================================================================
2929
# DEVELOPMENT OVERRIDES (Optional)
@@ -36,5 +36,5 @@ HEALTH_CHECK_INTERVAL=300 # seconds
3636
# Custom log format (optional)
3737
# LOG_FORMAT="%(asctime)s - %(name)s - %(levelname)s - %(message)s"
3838

39-
# Override SRE Agent API URL (for external testing)
40-
# SRE_AGENT_API_URL=http://localhost:8001
39+
# Override SRE Bot API URL (for external testing)
40+
# SRE_BOT_API_URL=http://localhost:8001

0 commit comments

Comments
 (0)