- 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.
49 lines
561 B
Plaintext
49 lines
561 B
Plaintext
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
|
|
|
|
# dependencies
|
|
/node_modules
|
|
/.pnp
|
|
.pnp.*
|
|
.yarn/*
|
|
!.yarn/patches
|
|
!.yarn/plugins
|
|
!.yarn/releases
|
|
!.yarn/versions
|
|
|
|
# testing
|
|
/coverage
|
|
|
|
# next.js
|
|
/.next/
|
|
/out/
|
|
|
|
# production
|
|
/build
|
|
|
|
# misc
|
|
.DS_Store
|
|
*.pem
|
|
|
|
# debug
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
|
|
# env files (can opt-in for commiting if needed)
|
|
.env*
|
|
|
|
# vercel
|
|
.vercel
|
|
|
|
# typescript
|
|
*.tsbuildinfo
|
|
next-env.d.ts
|
|
|
|
# videos and screenshots
|
|
/videos/
|
|
/screenshots/
|
|
|
|
# database
|
|
/prisma/dev.db
|
|
/prisma/dev.db-journal
|