🔧 Fix cleanup timing coordination with analysis completion
- 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.
This commit is contained in:
4
.gitignore
vendored
4
.gitignore
vendored
@@ -42,3 +42,7 @@ next-env.d.ts
|
|||||||
# videos and screenshots
|
# videos and screenshots
|
||||||
/videos/
|
/videos/
|
||||||
/screenshots/
|
/screenshots/
|
||||||
|
|
||||||
|
# database
|
||||||
|
/prisma/dev.db
|
||||||
|
/prisma/dev.db-journal
|
||||||
|
|||||||
Reference in New Issue
Block a user