Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: enhance directory analysis with context cancellation and signal…
… handling - Added context cancellation support to the directory analysis process, allowing for graceful shutdowns during file processing. - Implemented signal handling for SIGINT and SIGTERM to manage user-initiated cancellations effectively. - Updated the DirectoryAnalysis function to include a context parameter, ensuring that analysis can be interrupted cleanly. - Enhanced error handling to provide clearer feedback on cancellation and processing issues. - Introduced a new watchDirectory function to continuously monitor for new audio files, improving real-time processing capabilities. These changes improve the responsiveness and robustness of the audio analysis workflow, enhancing user experience during long-running tasks.
- Loading branch information