Skip to content

Uncomment the file‑removal line.#139

Merged
jburel merged 1 commit intoome:mainfrom
khaledk2:fix_clean_quries
Mar 19, 2026
Merged

Uncomment the file‑removal line.#139
jburel merged 1 commit intoome:mainfrom
khaledk2:fix_clean_quries

Conversation

@khaledk2
Copy link
Copy Markdown
Collaborator

@khaledk2 khaledk2 commented Mar 18, 2026

This PR restores the previously commented-out line that removes asynchronous query files older than their time to live (QUERIES_TTL)

@khaledk2 khaledk2 changed the title un comment remove files Uncomment the file‑removal line. Mar 18, 2026
@khaledk2 khaledk2 requested a review from will-moore March 18, 2026 13:58
Copy link
Copy Markdown
Member

@will-moore will-moore left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Certainly makes sense to remove the commented-out line, otherwise the function does nothing except print.

I guess the policy of how often to clean_query_files() and what the app_config.QUERIES_TTL is set to (7 days) can be decided / adjusted in due course.

@khaledk2
Copy link
Copy Markdown
Collaborator Author

QUERIES_TTL is a configuration item that can be customised as needed

@jburel jburel merged commit fb372f1 into ome:main Mar 19, 2026
3 checks passed
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.

3 participants