- Moved cleanup trigger to after complete automation cycle finishes - Removed premature cleanup calls from performAnalysis method - Added signalAnalysisComplete method to trigger cleanup only after decision is made - Enhanced cleanup coordination to respect actual analysis completion - Added database files to .gitignore - Cleanup now runs after trading decision, not during analysis This should resolve the high CPU usage issue by ensuring cleanup only happens when the analysis work is truly complete and a trading decision has been finalized.
561 B
561 B