mirror of
https://github.com/MarekWo/mc-webui.git
synced 2026-03-28 17:42:45 +01:00
chore: Remove unused MC_INACTIVE_HOURS config variable
This variable was defined but never used in the code. Contact cleanup threshold is controlled directly in the UI. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -25,11 +25,9 @@ MC_CONFIG_DIR=./data/meshcore
|
||||
# Application Settings
|
||||
# ============================================
|
||||
|
||||
# Hours of inactivity before contacts can be cleaned up
|
||||
MC_INACTIVE_HOURS=48
|
||||
|
||||
# Note: Auto-refresh is now intelligent and checks for new messages every 10 seconds
|
||||
# No configuration needed - the system automatically updates UI only when new messages arrive
|
||||
# Contact cleanup threshold is set directly in the UI (default: 48 hours)
|
||||
|
||||
# ============================================
|
||||
# Archive Configuration
|
||||
|
||||
@@ -21,9 +21,6 @@ class Config:
|
||||
# MeshCore Bridge configuration
|
||||
MC_BRIDGE_URL = os.getenv('MC_BRIDGE_URL', 'http://meshcore-bridge:5001/cli')
|
||||
|
||||
# Application settings
|
||||
MC_INACTIVE_HOURS = int(os.getenv('MC_INACTIVE_HOURS', '48'))
|
||||
|
||||
# Archive configuration
|
||||
MC_ARCHIVE_DIR = os.getenv('MC_ARCHIVE_DIR', '/root/.archive/meshcore')
|
||||
MC_ARCHIVE_ENABLED = os.getenv('MC_ARCHIVE_ENABLED', 'true').lower() == 'true'
|
||||
|
||||
@@ -45,7 +45,6 @@ services:
|
||||
- MC_BRIDGE_URL=http://meshcore-bridge:5001/cli
|
||||
- MC_DEVICE_NAME=${MC_DEVICE_NAME}
|
||||
- MC_CONFIG_DIR=/root/.config/meshcore
|
||||
- MC_INACTIVE_HOURS=${MC_INACTIVE_HOURS:-48}
|
||||
- MC_ARCHIVE_DIR=/root/.archive/meshcore
|
||||
- MC_ARCHIVE_ENABLED=${MC_ARCHIVE_ENABLED:-true}
|
||||
- MC_ARCHIVE_RETENTION_DAYS=${MC_ARCHIVE_RETENTION_DAYS:-7}
|
||||
|
||||
Reference in New Issue
Block a user