Skip to content

Refactor backupCase to remove multithreading and implement cleanup fo…#38

Open
legend-crypt wants to merge 1 commit intoOSeMOSYS:masterfrom
legend-crypt:download-cleanup
Open

Refactor backupCase to remove multithreading and implement cleanup fo…#38
legend-crypt wants to merge 1 commit intoOSeMOSYS:masterfrom
legend-crypt:download-cleanup

Conversation

@legend-crypt
Copy link

@legend-crypt legend-crypt commented Feb 24, 2026

Description

This PR fix race condition in the ZIP download cleanup and removes broken legacy route
Fixes #37

Changes

  • Updated view definitions generation logic
  • Remove both /myfunc and the Download class, and refactor /backupCase to use a safer cleanup mechanism (Flask’s after_this_request hook or a dedicated cleanup handler tied to response completion).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix race condition in ZIP download cleanup and remove broken legacy route

1 participant