config manager reductions to reduce overhead

This commit is contained in:
Chuck
2025-09-12 17:15:45 -04:00
parent 32b1b8020a
commit bc3883df14
13 changed files with 39 additions and 22 deletions

View File

@@ -29,7 +29,8 @@ class BaseMLBManager:
def __init__(self, config: Dict[str, Any], display_manager, cache_manager: CacheManager):
self.config = config
self.display_manager = display_manager
self.config_manager = ConfigManager()
# Store reference to config instead of creating new ConfigManager
self.config_manager = None # Not used in this class
self.mlb_config = config.get('mlb', {})
self.show_odds = self.mlb_config.get("show_odds", False)
self.favorite_teams = self.mlb_config.get('favorite_teams', [])